Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.1.4-maint.8.1.x/package.mo): time 1.366/1.366, allocations: 289.8 MB / 297 MB, free: 6.637 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.001019/0.001019, allocations: 181.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0007677/0.0007677, allocations: 92.55 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1881/0.1889, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.6253, allocations: 116.3 MB / 0.9726 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.7895, allocations: 171.1 MB / 1.14 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.7898, allocations: 95.86 kB / 1.14 GB, free: 9.344 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.6751/1.465, allocations: 182.4 MB / 1.318 GB, free: 182 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/1.465, allocations: 8.625 kB / 1.318 GB, free: 182 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005306/1.47, allocations: 0.9303 MB / 1.319 GB, free: 181.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005397/1.476, allocations: 3.002 MB / 1.322 GB, free: 179.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.476, allocations: 149.7 kB / 1.322 GB, free: 179.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006865/1.477, allocations: 277.7 kB / 1.322 GB, free: 179.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008092/1.485, allocations: 4.692 MB / 1.327 GB, free: 177.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/1.496, allocations: 6.705 MB / 1.333 GB, free: 173.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/1.496, allocations: 27.39 kB / 1.333 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004543/1.497, allocations: 13.22 kB / 1.333 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002995/1.497, allocations: 290.3 kB / 1.334 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/1.521, allocations: 34.22 MB / 1.367 GB, free: 136.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/1.522, allocations: 1.49 MB / 1.369 GB, free: 135 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/1.524, allocations: 1.312 MB / 1.37 GB, free: 133.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.696e-05/1.524, allocations: 13.31 kB / 1.37 GB, free: 133.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/1.524, allocations: 47.88 kB / 1.37 GB, free: 133.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=133): time 4.218e-06/1.524, allocations: 3.938 kB / 1.37 GB, free: 133.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136): time 0.006485/1.53, allocations: 4.578 MB / 1.374 GB, free: 129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/1.53, allocations: 68.72 kB / 1.374 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/1.531, allocations: 1.066 MB / 1.375 GB, free: 127.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/1.531, allocations: 29.69 kB / 1.375 GB, free: 127.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/1.532, allocations: 1.749 MB / 1.377 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.532, allocations: 465.1 kB / 1.378 GB, free: 125.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/1.532, allocations: 0 / 1.378 GB, free: 125.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/1.532, allocations: 377.9 kB / 1.378 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/1.533, allocations: 0.902 MB / 1.379 GB, free: 124.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/1.534, allocations: 1.543 MB / 1.38 GB, free: 122.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/1.536, allocations: 1.177 MB / 1.382 GB, free: 121.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.536, allocations: 8 kB / 1.382 GB, free: 121.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004491/1.54, allocations: 3.36 MB / 1.385 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.54, allocations: 11 kB / 1.385 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.54, allocations: 27.91 kB / 1.385 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/1.543, allocations: 0.9483 MB / 1.386 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.544, allocations: 335.4 kB / 1.386 GB, free: 116.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.557, allocations: 19.75 MB / 1.405 GB, free: 95.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.559, allocations: 47.95 kB / 1.405 GB, free: 95.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.559, allocations: 87.98 kB / 1.406 GB, free: 95.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002645/1.559, allocations: 170.1 kB / 1.406 GB, free: 95.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/1.559, allocations: 189.8 kB / 1.406 GB, free: 95.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/1.564, allocations: 2.979 MB / 1.409 GB, free: 92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.564, allocations: 16 kB / 1.409 GB, free: 91.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.564, allocations: 8 kB / 1.409 GB, free: 91.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/1.564, allocations: 7.969 kB / 1.409 GB, free: 91.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008899/1.573, allocations: 6.209 MB / 1.415 GB, free: 85.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.573, allocations: 7.984 kB / 1.415 GB, free: 85.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/1.573, allocations: 151.8 kB / 1.415 GB, free: 85.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/1.576, allocations: 0.9382 MB / 1.416 GB, free: 84.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/1.576, allocations: 8 kB / 1.416 GB, free: 84.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/1.589, allocations: 19.74 MB / 1.435 GB, free: 63.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.589, allocations: 7.938 kB / 1.435 GB, free: 63.45 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004308/1.593, allocations: 3.398 MB / 1.439 GB, free: 59.83 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004291/1.598, allocations: 3.827 MB / 1.442 GB, free: 55.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007938/1.598, allocations: 450.6 kB / 1.443 GB, free: 55.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/1.599, allocations: 16.05 kB / 1.443 GB, free: 55.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/1.6, allocations: 31.91 kB / 1.443 GB, free: 55.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.6, allocations: 76.8 kB / 1.443 GB, free: 55.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/1.6, allocations: 36 kB / 1.443 GB, free: 55.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.00107/1.601, allocations: 0.7849 MB / 1.444 GB, free: 54.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003252/1.604, allocations: 0.7383 MB / 1.444 GB, free: 53.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/1.605, allocations: 131 kB / 1.444 GB, free: 53.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004273/1.609, allocations: 3.784 MB / 1.448 GB, free: 49.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.609, allocations: 7.938 kB / 1.448 GB, free: 49.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/1.612, allocations: 2.592 MB / 1.451 GB, free: 46.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/1.614, allocations: 0.5736 MB / 1.451 GB, free: 46.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/1.623, allocations: 5.659 MB / 1.457 GB, free: 40.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002812/1.626, allocations: 3.247 MB / 1.46 GB, free: 37.27 MB / 0.8386 GB Notification: Performance of SimCode: time 1.292e-06/1.626, allocations: 4 kB / 1.46 GB, free: 37.27 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)