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_R.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_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.161/2.161, allocations: 284.8 MB / 292.1 MB, free: 1.508 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001594, allocations: 181.7 kB / 360.3 MB, free: 15.66 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 0.6187 GB, free: 6.652 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001242, allocations: 89.28 kB / 0.7317 GB, free: 46.88 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2417/0.2429, allocations: 121.4 MB / 0.8502 GB, free: 13.65 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.8006, allocations: 115.2 MB / 0.9628 GB, free: 86.46 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/1.05, allocations: 169.9 MB / 1.129 GB, free: 12.49 MB / 0.7374 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/1.051, allocations: 92.83 kB / 1.129 GB, free: 12.4 MB / 0.7374 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 1.075/2.126, allocations: 184.8 MB / 1.309 GB, free: 158.2 MB / 0.8624 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/2.126, allocations: 14.47 kB / 1.309 GB, free: 158.2 MB / 0.8624 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009588/2.136, allocations: 1.008 MB / 1.31 GB, free: 157.9 MB / 0.8624 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/2.147, allocations: 3.229 MB / 1.313 GB, free: 157.3 MB / 0.8624 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/2.147, allocations: 163.2 kB / 1.313 GB, free: 157.3 MB / 0.8624 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/2.149, allocations: 275.9 kB / 1.314 GB, free: 157.3 MB / 0.8624 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01524/2.164, allocations: 4.881 MB / 1.319 GB, free: 157.2 MB / 0.8624 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/2.186, allocations: 6.856 MB / 1.325 GB, free: 155.9 MB / 0.8624 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/2.186, allocations: 21.75 kB / 1.325 GB, free: 155.9 MB / 0.8624 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/2.188, allocations: 17.66 kB / 1.325 GB, free: 155.9 MB / 0.8624 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003123/2.188, allocations: 281.2 kB / 1.326 GB, free: 155.9 MB / 0.8624 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/2.236, allocations: 35.33 MB / 1.36 GB, free: 132 MB / 0.8624 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006063/2.242, allocations: 2.017 MB / 1.362 GB, free: 132 MB / 0.8624 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/2.246, allocations: 1.442 MB / 1.363 GB, free: 132 MB / 0.8624 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/2.246, allocations: 15.84 kB / 1.363 GB, free: 132 MB / 0.8624 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/2.246, allocations: 53.75 kB / 1.363 GB, free: 131.9 MB / 0.8624 GB Notification: Performance of pre-optimization done (n=157): time 5.03e-06/2.246, allocations: 3.562 kB / 1.363 GB, free: 131.9 MB / 0.8624 GB Notification: Performance of matching and sorting (n=160): time 0.01419/2.26, allocations: 4.876 MB / 1.368 GB, free: 130.9 MB / 0.8624 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/2.26, allocations: 72.28 kB / 1.368 GB, free: 130.8 MB / 0.8624 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/2.263, allocations: 1.245 MB / 1.37 GB, free: 130.6 MB / 0.8624 GB Notification: Performance of collectPreVariables (initialization): time 0.0003726/2.263, allocations: 25.7 kB / 1.37 GB, free: 130.6 MB / 0.8624 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009454/2.264, allocations: 1.8 MB / 1.371 GB, free: 129.5 MB / 0.8624 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006742/2.265, allocations: 0.5432 MB / 1.372 GB, free: 129.1 MB / 0.8624 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/2.265, allocations: 3.938 kB / 1.372 GB, free: 129.1 MB / 0.8624 GB Notification: Performance of setup shared object (initialization): time 0.0001454/2.265, allocations: 387.4 kB / 1.372 GB, free: 128.8 MB / 0.8624 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/2.267, allocations: 0.9901 MB / 1.373 GB, free: 128.8 MB / 0.8624 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/2.27, allocations: 1.694 MB / 1.375 GB, free: 127.9 MB / 0.8624 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/2.273, allocations: 1.287 MB / 1.376 GB, free: 127.9 MB / 0.8624 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/2.273, allocations: 5.688 kB / 1.376 GB, free: 127.9 MB / 0.8624 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01024/2.284, allocations: 3.578 MB / 1.38 GB, free: 127.4 MB / 0.8624 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/2.284, allocations: 6.438 kB / 1.38 GB, free: 127.4 MB / 0.8624 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/2.284, allocations: 31.53 kB / 1.38 GB, free: 127.4 MB / 0.8624 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/2.288, allocations: 0.9109 MB / 1.381 GB, free: 127.3 MB / 0.8624 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/2.291, allocations: 392.8 kB / 1.381 GB, free: 127.3 MB / 0.8624 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02361/2.314, allocations: 19.67 MB / 1.4 GB, free: 112.8 MB / 0.8624 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/2.317, allocations: 62.55 kB / 1.4 GB, free: 112.8 MB / 0.8624 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/2.318, allocations: 100.8 kB / 1.4 GB, free: 112.8 MB / 0.8624 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(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.0005391/2.318, allocations: 165.5 kB / 1.4 GB, free: 112.6 MB / 0.8624 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/2.319, allocations: 234.4 kB / 1.401 GB, free: 112.5 MB / 0.8624 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009492/2.329, allocations: 3.151 MB / 1.404 GB, free: 112.3 MB / 0.8624 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/2.329, allocations: 16.12 kB / 1.404 GB, free: 112.3 MB / 0.8624 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/2.329, allocations: 13.59 kB / 1.404 GB, free: 112.3 MB / 0.8624 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/2.329, allocations: 7.5 kB / 1.404 GB, free: 112.3 MB / 0.8624 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/2.347, allocations: 6.712 MB / 1.41 GB, free: 109.5 MB / 0.8624 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/2.347, allocations: 4 kB / 1.41 GB, free: 109.5 MB / 0.8624 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/2.349, allocations: 204.7 kB / 1.411 GB, free: 109.3 MB / 0.8624 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003995/2.353, allocations: 0.8759 MB / 1.411 GB, free: 108.8 MB / 0.8624 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/2.353, allocations: 4 kB / 1.411 GB, free: 108.8 MB / 0.8624 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02324/2.376, allocations: 19.67 MB / 1.431 GB, free: 91.03 MB / 0.8624 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/2.376, allocations: 7.938 kB / 1.431 GB, free: 91.02 MB / 0.8624 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008618/2.385, allocations: 3.592 MB / 1.434 GB, free: 88.48 MB / 0.8624 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008827/2.394, allocations: 4.025 MB / 1.438 GB, free: 84.66 MB / 0.8624 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/2.396, allocations: 0.5025 MB / 1.439 GB, free: 84.19 MB / 0.8624 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005651/2.396, allocations: 12.86 kB / 1.439 GB, free: 84.18 MB / 0.8624 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/2.398, allocations: 42.53 kB / 1.439 GB, free: 84.15 MB / 0.8624 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/2.398, allocations: 87.88 kB / 1.439 GB, free: 84.09 MB / 0.8624 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/2.399, allocations: 49.36 kB / 1.439 GB, free: 84.05 MB / 0.8624 GB Notification: Performance of sort global known variables: time 0.001784/2.4, allocations: 0.9091 MB / 1.44 GB, free: 83.21 MB / 0.8624 GB Notification: Performance of remove unused functions: time 0.004976/2.405, allocations: 0.8203 MB / 1.44 GB, free: 82.39 MB / 0.8624 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005129/2.406, allocations: 129.5 kB / 1.441 GB, free: 82.25 MB / 0.8624 GB Notification: Performance of simCode: created initialization part: time 0.009136/2.415, allocations: 4.019 MB / 1.444 GB, free: 78.45 MB / 0.8624 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/2.415, allocations: 0 / 1.444 GB, free: 78.45 MB / 0.8624 GB Notification: Performance of simCode: created simulation system equations: time 0.006229/2.421, allocations: 2.718 MB / 1.447 GB, free: 75.84 MB / 0.8624 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/2.427, allocations: 0.628 MB / 1.448 GB, free: 75.36 MB / 0.8624 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/2.445, allocations: 6.009 MB / 1.454 GB, free: 69.88 MB / 0.8624 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007449/2.452, allocations: 3.371 MB / 1.457 GB, free: 67.2 MB / 0.8624 GB Notification: Performance of SimCode: time 1.663e-06/2.452, allocations: 4 kB / 1.457 GB, free: 67.2 MB / 0.8624 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)