Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 185.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.2 MB / 0.5667 GB, free: 15.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.00092, allocations: 89.62 kB / 0.671 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3221/0.323, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.4785, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.9451, allocations: 156.3 MB / 1.037 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.9454, allocations: 94.3 kB / 1.037 GB, free: 15.83 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.1994/1.145, allocations: 86.97 MB / 1.122 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.145, allocations: 8 kB / 1.122 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/1.15, allocations: 0.6104 MB / 1.123 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/1.152, allocations: 0.8958 MB / 1.124 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/1.152, allocations: 40 kB / 1.124 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/1.152, allocations: 75.98 kB / 1.124 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002664/1.155, allocations: 1.399 MB / 1.125 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/1.158, allocations: 2.156 MB / 1.127 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/1.158, allocations: 19.78 kB / 1.127 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.158, allocations: 8 kB / 1.127 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/1.158, allocations: 154.3 kB / 1.128 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/1.17, allocations: 12.25 MB / 1.14 GB, free: 164 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/1.172, allocations: 1.477 MB / 1.141 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/1.173, allocations: 0.6011 MB / 1.142 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/1.173, allocations: 102.1 kB / 1.142 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.173, allocations: 47.5 kB / 1.142 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 3.346e-06/1.173, allocations: 0 / 1.142 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.004688/1.178, allocations: 2.461 MB / 1.144 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/1.178, allocations: 64.41 kB / 1.144 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/1.179, allocations: 0.6561 MB / 1.145 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/1.179, allocations: 29.7 kB / 1.145 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/1.179, allocations: 0.6104 MB / 1.145 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/1.179, allocations: 370.5 kB / 1.146 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/1.18, allocations: 0 / 1.146 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.18, allocations: 361.9 kB / 1.146 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008348/1.18, allocations: 0.5818 MB / 1.147 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.182, allocations: 1.013 MB / 1.148 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/1.183, allocations: 0.8693 MB / 1.149 GB, free: 6.629 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.183, allocations: 8 kB / 1.149 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00376/1.187, allocations: 2.04 MB / 1.151 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.187, allocations: 4 kB / 1.151 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/1.187, allocations: 16 kB / 1.151 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007762/1.188, allocations: 258.7 kB / 1.151 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.189, allocations: 335.4 kB / 1.151 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/1.197, allocations: 10.29 MB / 1.161 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.198, allocations: 64.08 kB / 1.161 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/1.198, allocations: 68 kB / 1.161 GB, free: 8.586 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003153/1.198, allocations: 152.4 kB / 1.161 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/1.199, allocations: 118.6 kB / 1.162 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/1.202, allocations: 1.693 MB / 1.163 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.202, allocations: 12 kB / 1.163 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.202, allocations: 0 / 1.163 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.202, allocations: 7.984 kB / 1.163 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/1.207, allocations: 3.127 MB / 1.166 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.208, allocations: 4 kB / 1.166 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/1.208, allocations: 199.7 kB / 1.166 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007021/1.209, allocations: 243.3 kB / 1.167 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/1.209, allocations: 12 kB / 1.167 GB, free: 2.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007158/1.216, allocations: 10.25 MB / 1.177 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.216, allocations: 11.94 kB / 1.177 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003379/1.22, allocations: 2.089 MB / 1.179 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003298/1.223, allocations: 2.494 MB / 1.181 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000678/1.224, allocations: 315.5 kB / 1.182 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/1.224, allocations: 11.91 kB / 1.182 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/1.225, allocations: 39.94 kB / 1.182 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.225, allocations: 80.47 kB / 1.182 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/1.225, allocations: 40 kB / 1.182 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0007296/1.226, allocations: 0.4939 MB / 1.182 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00241/1.228, allocations: 347.9 kB / 1.182 GB, free: 1.246 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003105/1.229, allocations: 135 kB / 1.183 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00344/1.232, allocations: 2.32 MB / 1.185 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.232, allocations: 0 / 1.185 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/1.234, allocations: 1.526 MB / 1.186 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.236, allocations: 266.1 kB / 1.187 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/1.241, allocations: 2.159 MB / 1.189 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.242, allocations: 1.46 MB / 1.19 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of SimCode: time 1.162e-06/1.242, allocations: 0 / 1.19 GB, free: 9.074 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)