Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.784/1.784, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 171.9 kB / 487 MB, free: 5.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009474, allocations: 95.56 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4111/0.4121, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.5949, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/1.101, allocations: 177.7 MB / 1.379 GB, free: 14.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/1.101, allocations: 88.88 kB / 1.379 GB, free: 14.5 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.1582/1.26, allocations: 74.58 MB / 1.452 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/1.26, allocations: 15.94 kB / 1.452 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/1.262, allocations: 462.6 kB / 1.452 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.264, allocations: 1.159 MB / 1.453 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/1.264, allocations: 44 kB / 1.453 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/1.264, allocations: 84 kB / 1.453 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002692/1.267, allocations: 2.035 MB / 1.455 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/1.27, allocations: 2.608 MB / 1.458 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/1.27, allocations: 11.88 kB / 1.458 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/1.271, allocations: 4 kB / 1.458 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003654/1.271, allocations: 161.4 kB / 1.458 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/1.285, allocations: 13.97 MB / 1.472 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.287, allocations: 1.269 MB / 1.473 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/1.288, allocations: 1.128 MB / 1.474 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/1.288, allocations: 16.64 kB / 1.474 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.288, allocations: 39.22 kB / 1.474 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/1.288, allocations: 0 / 1.474 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139): time 0.02353/1.312, allocations: 8.965 MB / 1.483 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.312, allocations: 68.72 kB / 1.483 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.313, allocations: 0.9057 MB / 1.484 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.313, allocations: 25.7 kB / 1.484 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/1.313, allocations: 0.6346 MB / 1.485 GB, free: 420 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/1.314, allocations: 465 kB / 1.485 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.314, allocations: 0 / 1.485 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.314, allocations: 426.6 kB / 1.485 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/1.316, allocations: 1.495 MB / 1.487 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/1.318, allocations: 1.784 MB / 1.489 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/1.322, allocations: 2.106 MB / 1.491 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.322, allocations: 4 kB / 1.491 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0109/1.333, allocations: 5.784 MB / 1.496 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.333, allocations: 8.562 kB / 1.496 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.333, allocations: 12 kB / 1.496 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007892/1.341, allocations: 2.727 MB / 1.499 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/1.341, allocations: 211.6 kB / 1.499 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/1.361, allocations: 14.4 MB / 1.513 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.363, allocations: 59.95 kB / 1.513 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/1.363, allocations: 163.9 kB / 1.514 GB, free: 2.336 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003614/1.363, allocations: 128.7 kB / 1.514 GB, free: 2.203 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/1.364, allocations: 110.7 kB / 1.514 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00973/1.373, allocations: 5.247 MB / 1.519 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.373, allocations: 15.91 kB / 1.519 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.373, allocations: 12 kB / 1.519 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.374, allocations: 3.984 kB / 1.519 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/1.388, allocations: 8.386 MB / 1.527 GB, free: 4.293 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.388, allocations: 4 kB / 1.527 GB, free: 4.289 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/1.388, allocations: 111.7 kB / 1.527 GB, free: 4.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007336/1.396, allocations: 2.566 MB / 1.53 GB, free: 1.605 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.396, allocations: 44 kB / 1.53 GB, free: 1.562 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/1.414, allocations: 12.38 MB / 1.542 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.414, allocations: 4 kB / 1.542 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009219/1.423, allocations: 5.104 MB / 1.547 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00923/1.432, allocations: 5.511 MB / 1.552 GB, free: 9.938 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.433, allocations: 0.597 MB / 1.553 GB, free: 9.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/1.434, allocations: 4 kB / 1.553 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/1.435, allocations: 43.95 kB / 1.553 GB, free: 9.273 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/1.435, allocations: 109.1 kB / 1.553 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/1.435, allocations: 107.9 kB / 1.553 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0008416/1.436, allocations: 0.6826 MB / 1.554 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00235/1.438, allocations: 0.5155 MB / 1.554 GB, free: 7.863 MB / 0.9792 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 (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002904/1.439, allocations: 135 kB / 1.554 GB, free: 7.723 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006132/1.445, allocations: 3.932 MB / 1.558 GB, free: 3.766 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.445, allocations: 0 / 1.558 GB, free: 3.766 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004369/1.449, allocations: 2.269 MB / 1.56 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/1.45, allocations: 150.3 kB / 1.561 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/1.456, allocations: 3.344 MB / 1.564 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/1.458, allocations: 1.748 MB / 1.566 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of SimCode: time 3.11e-07/1.458, allocations: 0 / 1.566 GB, free: 12.12 MB / 0.9948 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)