Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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 9.1.1-maint.9.1.x/package.mo): time 1.763/1.763, allocations: 387.2 MB / 394.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 184.9 kB / 487 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.4 MB / 0.7819 GB, free: 6.707 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008164, allocations: 100.2 kB / 0.9213 GB, free: 43.67 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2175/0.2183, allocations: 148.5 MB / 1.066 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.7139, allocations: 142.3 MB / 1.205 GB, free: 72.89 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.8906, allocations: 179.1 MB / 1.38 GB, free: 180 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.8909, allocations: 95.59 kB / 1.38 GB, free: 88 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.178/1.069, allocations: 77.84 MB / 1.456 GB, free: 1.641 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/1.069, allocations: 8 kB / 1.456 GB, free: 1.633 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/1.072, allocations: 477.2 kB / 1.457 GB, free: 1.164 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/1.074, allocations: 1.294 MB / 1.458 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/1.074, allocations: 55.84 kB / 1.458 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/1.075, allocations: 88 kB / 1.458 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003647/1.078, allocations: 2.353 MB / 1.46 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/1.083, allocations: 2.956 MB / 1.463 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/1.083, allocations: 11.92 kB / 1.463 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/1.083, allocations: 4 kB / 1.463 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005429/1.083, allocations: 183 kB / 1.464 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/1.103, allocations: 14.71 MB / 1.478 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/1.105, allocations: 1.747 MB / 1.48 GB, free: 8.734 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/1.107, allocations: 1.535 MB / 1.481 GB, free: 7.191 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/1.107, allocations: 28.97 kB / 1.481 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/1.107, allocations: 43.56 kB / 1.481 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/1.107, allocations: 0 / 1.481 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of matching and sorting (n=183): time 0.03917/1.146, allocations: 14.14 MB / 1.495 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.146, allocations: 77.34 kB / 1.495 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/1.148, allocations: 1.004 MB / 1.496 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/1.148, allocations: 25.7 kB / 1.496 GB, free: 7.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/1.148, allocations: 0.6585 MB / 1.497 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005264/1.149, allocations: 0.6003 MB / 1.497 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/1.149, allocations: 4 kB / 1.497 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.149, allocations: 389.9 kB / 1.498 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/1.152, allocations: 2.143 MB / 1.5 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/1.155, allocations: 2.47 MB / 1.502 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005351/1.16, allocations: 2.929 MB / 1.505 GB, free: 14.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/1.16, allocations: 4 kB / 1.505 GB, free: 14.49 MB / 1.01 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01719/1.177, allocations: 8.774 MB / 1.514 GB, free: 5.695 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.177, allocations: 8 kB / 1.514 GB, free: 5.688 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.177, allocations: 8 kB / 1.514 GB, free: 5.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/1.192, allocations: 4.981 MB / 1.518 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.193, allocations: 251.6 kB / 1.519 GB, free: 448 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4036/1.597, allocations: 21.57 MB / 1.54 GB, free: 197.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.599, allocations: 68.91 kB / 1.54 GB, free: 197.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/1.599, allocations: 270.9 kB / 1.54 GB, free: 197.1 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004167/1.6, allocations: 129 kB / 1.54 GB, free: 197 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/1.6, allocations: 138.9 kB / 1.54 GB, free: 197 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.614, allocations: 8.342 MB / 1.548 GB, free: 196.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.614, allocations: 17.91 kB / 1.549 GB, free: 196.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.614, allocations: 22.75 kB / 1.549 GB, free: 196.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.614, allocations: 7.734 kB / 1.549 GB, free: 196.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/1.634, allocations: 12.75 MB / 1.561 GB, free: 196 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.634, allocations: 6.906 kB / 1.561 GB, free: 196 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/1.634, allocations: 123.4 kB / 1.561 GB, free: 196 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0129/1.647, allocations: 4.772 MB / 1.566 GB, free: 196 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/1.647, allocations: 66.45 kB / 1.566 GB, free: 196 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/1.675, allocations: 18.49 MB / 1.584 GB, free: 192.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.675, allocations: 3.625 kB / 1.584 GB, free: 192.3 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01355/1.688, allocations: 7.898 MB / 1.592 GB, free: 191.6 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01376/1.702, allocations: 8.31 MB / 1.6 GB, free: 190.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.704, allocations: 0.8239 MB / 1.601 GB, free: 190.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/1.704, allocations: 5.438 kB / 1.601 GB, free: 190.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.705, allocations: 47.39 kB / 1.601 GB, free: 190.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/1.706, allocations: 160.8 kB / 1.601 GB, free: 190.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/1.706, allocations: 179.3 kB / 1.601 GB, free: 190.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0008538/1.707, allocations: 0.776 MB / 1.602 GB, free: 190.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002725/1.709, allocations: 0.6625 MB / 1.602 GB, free: 190.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003013/1.71, allocations: 128.1 kB / 1.602 GB, free: 190.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007388/1.717, allocations: 5.732 MB / 1.608 GB, free: 186.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.717, allocations: 0 / 1.608 GB, free: 186.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005692/1.723, allocations: 3.396 MB / 1.611 GB, free: 184.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/1.724, allocations: 155.5 kB / 1.611 GB, free: 184.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/1.731, allocations: 4.377 MB / 1.616 GB, free: 181.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.733, allocations: 1.905 MB / 1.618 GB, free: 179.9 MB / 1.01 GB Notification: Performance of SimCode: time 2.004e-06/1.733, allocations: 0 / 1.618 GB, free: 179.9 MB / 1.01 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)