Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.14/2.14, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001648/0.001648, allocations: 181.3 kB / 360.3 MB, free: 7.5 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.639/1.639, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001213/0.001213, allocations: 87.09 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2425/0.2437, allocations: 121.4 MB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.7993, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/1.053, allocations: 169.9 MB / 1.129 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/1.053, allocations: 93.39 kB / 1.129 GB, free: 2.711 MB / 0.7292 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 1.072/2.125, allocations: 182.4 MB / 1.307 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/2.125, allocations: 11.88 kB / 1.307 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009056/2.134, allocations: 0.9347 MB / 1.308 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009769/2.144, allocations: 2.996 MB / 1.311 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/2.144, allocations: 151.2 kB / 1.311 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/2.146, allocations: 280.2 kB / 1.311 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01481/2.161, allocations: 4.689 MB / 1.316 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/2.179, allocations: 6.696 MB / 1.322 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/2.18, allocations: 27.38 kB / 1.322 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007207/2.18, allocations: 17.41 kB / 1.322 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003039/2.181, allocations: 293.1 kB / 1.323 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04598/2.227, allocations: 34.22 MB / 1.356 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/2.23, allocations: 1.486 MB / 1.358 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/2.233, allocations: 1.314 MB / 1.359 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/2.233, allocations: 17.33 kB / 1.359 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/2.233, allocations: 49.06 kB / 1.359 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 4.448e-06/2.233, allocations: 0 / 1.359 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.01285/2.246, allocations: 4.578 MB / 1.363 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/2.246, allocations: 70.66 kB / 1.363 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/2.248, allocations: 1.065 MB / 1.364 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/2.248, allocations: 25.7 kB / 1.364 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008196/2.249, allocations: 1.754 MB / 1.366 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000483/2.249, allocations: 469.1 kB / 1.367 GB, free: 127 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/2.25, allocations: 0 / 1.367 GB, free: 127 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001335/2.25, allocations: 379.9 kB / 1.367 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/2.252, allocations: 0.9023 MB / 1.368 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/2.254, allocations: 1.538 MB / 1.369 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/2.256, allocations: 1.18 MB / 1.371 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/2.256, allocations: 6.375 kB / 1.371 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009501/2.266, allocations: 3.362 MB / 1.374 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/2.266, allocations: 5.906 kB / 1.374 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/2.266, allocations: 24.5 kB / 1.374 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/2.271, allocations: 0.9554 MB / 1.375 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/2.273, allocations: 332.4 kB / 1.375 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/2.299, allocations: 19.74 MB / 1.394 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/2.302, allocations: 42.92 kB / 1.394 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/2.302, allocations: 86.67 kB / 1.394 GB, free: 109.8 MB / 0.8542 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.0004353/2.302, allocations: 172.8 kB / 1.395 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/2.303, allocations: 190.8 kB / 1.395 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008871/2.312, allocations: 2.986 MB / 1.398 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/2.312, allocations: 12 kB / 1.398 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-05/2.312, allocations: 16 kB / 1.398 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/2.312, allocations: 6.891 kB / 1.398 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/2.329, allocations: 6.205 MB / 1.404 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/2.329, allocations: 4 kB / 1.404 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/2.33, allocations: 153.9 kB / 1.404 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004843/2.335, allocations: 0.9335 MB / 1.405 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/2.336, allocations: 9 kB / 1.405 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02458/2.36, allocations: 19.75 MB / 1.424 GB, free: 84.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/2.36, allocations: 12.88 kB / 1.424 GB, free: 84.57 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008803/2.369, allocations: 3.39 MB / 1.428 GB, free: 81 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008761/2.378, allocations: 3.836 MB / 1.431 GB, free: 76.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/2.379, allocations: 454.5 kB / 1.432 GB, free: 76.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/2.38, allocations: 4 kB / 1.432 GB, free: 76.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/2.381, allocations: 31.95 kB / 1.432 GB, free: 76.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/2.382, allocations: 72.81 kB / 1.432 GB, free: 76.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/2.382, allocations: 40.94 kB / 1.432 GB, free: 76.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001443/2.383, allocations: 0.781 MB / 1.433 GB, free: 75.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004595/2.388, allocations: 0.742 MB / 1.433 GB, free: 74.83 MB / 0.8542 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.0004189/2.388, allocations: 131.5 kB / 1.433 GB, free: 74.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008626/2.397, allocations: 3.785 MB / 1.437 GB, free: 70.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/2.397, allocations: 0 / 1.437 GB, free: 70.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/2.403, allocations: 2.6 MB / 1.44 GB, free: 68.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005217/2.408, allocations: 0.5804 MB / 1.44 GB, free: 67.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/2.426, allocations: 5.654 MB / 1.446 GB, free: 61.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006452/2.433, allocations: 3.25 MB / 1.449 GB, free: 58.49 MB / 0.8542 GB Notification: Performance of SimCode: time 1.814e-06/2.433, allocations: 0 / 1.449 GB, free: 58.49 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)