Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.295/1.295, allocations: 285.5 MB / 292.8 MB, free: 10.42 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009134/0.0009136, allocations: 185.3 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9842/0.9842, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007494/0.0007495, allocations: 92.88 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.167/0.1678, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.552, allocations: 115.3 MB / 0.9638 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.713, allocations: 185.2 MB / 1.145 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.7133, allocations: 93.34 kB / 1.145 GB, free: 2.582 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.8999/1.613, allocations: 322.8 MB / 1.46 GB, free: 57.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/1.613, allocations: 15.94 kB / 1.46 GB, free: 57.15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/1.625, allocations: 1.677 MB / 1.462 GB, free: 55.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.635, allocations: 5.007 MB / 1.466 GB, free: 50.43 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/1.636, allocations: 192 kB / 1.467 GB, free: 50.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009413/1.636, allocations: 363.9 kB / 1.467 GB, free: 49.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01014/1.647, allocations: 7.065 MB / 1.474 GB, free: 42.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/1.658, allocations: 9.194 MB / 1.483 GB, free: 33.15 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/1.658, allocations: 31.62 kB / 1.483 GB, free: 33.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005655/1.658, allocations: 16 kB / 1.483 GB, free: 33.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/1.659, allocations: 396 kB / 1.483 GB, free: 32.71 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04064/1.699, allocations: 45.35 MB / 1.528 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/1.704, allocations: 3.721 MB / 1.531 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004107/1.708, allocations: 3.492 MB / 1.535 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/1.708, allocations: 34.78 kB / 1.535 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.708, allocations: 69.34 kB / 1.535 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 4.869e-06/1.708, allocations: 0 / 1.535 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.08826/1.796, allocations: 38.11 MB / 1.572 GB, free: 2.293 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/1.796, allocations: 107.9 kB / 1.572 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/1.799, allocations: 1.836 MB / 1.574 GB, free: 344 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007396/1.8, allocations: 29.7 kB / 1.574 GB, free: 308 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.801, allocations: 2.181 MB / 1.576 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/1.803, allocations: 1.878 MB / 1.578 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/1.803, allocations: 0 / 1.578 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003161/1.804, allocations: 0.5298 MB / 1.578 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004936/1.809, allocations: 3.752 MB / 1.582 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0055/1.814, allocations: 4.833 MB / 1.587 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005766/1.82, allocations: 4.59 MB / 1.591 GB, free: 14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/1.82, allocations: 8 kB / 1.591 GB, free: 13.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03208/1.852, allocations: 15.49 MB / 1.606 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.852, allocations: 4 kB / 1.606 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/1.852, allocations: 36.16 kB / 1.606 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02361/1.876, allocations: 7.404 MB / 1.614 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/1.878, allocations: 0.5498 MB / 1.614 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2997/2.178, allocations: 61.17 MB / 1.674 GB, free: 289.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004094/2.182, allocations: 93.17 kB / 1.674 GB, free: 289.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/2.183, allocations: 205.3 kB / 1.674 GB, free: 289.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008408/2.183, allocations: 183.6 kB / 1.674 GB, free: 289.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/2.184, allocations: 449 kB / 1.675 GB, free: 289.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/2.212, allocations: 15.49 MB / 1.69 GB, free: 288.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-05/2.212, allocations: 55.25 kB / 1.69 GB, free: 288.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-05/2.213, allocations: 70.81 kB / 1.69 GB, free: 288.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/2.213, allocations: 28.41 kB / 1.69 GB, free: 288.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/2.25, allocations: 22.6 MB / 1.712 GB, free: 287.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/2.25, allocations: 12.94 kB / 1.712 GB, free: 287.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/2.251, allocations: 306.3 kB / 1.712 GB, free: 287.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01946/2.271, allocations: 6.767 MB / 1.719 GB, free: 287.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005672/2.271, allocations: 16.84 kB / 1.719 GB, free: 287.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06789/2.339, allocations: 58.12 MB / 1.776 GB, free: 255.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/2.339, allocations: 14.81 kB / 1.776 GB, free: 255.1 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03237/2.372, allocations: 20.71 MB / 1.796 GB, free: 246.4 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03677/2.409, allocations: 27.16 MB / 1.823 GB, free: 232.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/2.411, allocations: 1.234 MB / 1.824 GB, free: 230.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007725/2.412, allocations: 19.56 kB / 1.824 GB, free: 230.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/2.414, allocations: 89.38 kB / 1.824 GB, free: 230.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/2.415, allocations: 282 kB / 1.824 GB, free: 230.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003582/2.415, allocations: 142.9 kB / 1.824 GB, free: 230.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001474/2.417, allocations: 1.338 MB / 1.826 GB, free: 229.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005523/2.422, allocations: 1.853 MB / 1.827 GB, free: 227.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004542/2.423, allocations: 147 kB / 1.828 GB, free: 227.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01792/2.441, allocations: 12.41 MB / 1.84 GB, free: 216.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/2.441, allocations: 2.25 kB / 1.84 GB, free: 216.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01286/2.453, allocations: 7.723 MB / 1.847 GB, free: 209.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/2.457, allocations: 0.9479 MB / 1.848 GB, free: 208.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/2.478, allocations: 13.29 MB / 1.861 GB, free: 196.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004485/2.482, allocations: 4.851 MB / 1.866 GB, free: 192.8 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/2.482, allocations: 0 / 1.866 GB, free: 192.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)