Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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 9.1.1-maint.9.1.x/package.mo): time 1.823/1.823, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001062/0.001062, allocations: 189.2 kB / 487 MB, free: 5.324 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.171/1.171, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008685/0.0008687, allocations: 98.36 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4478/0.4487, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.6513, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5373/1.189, allocations: 164.5 MB / 1.366 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.189, allocations: 89.48 kB / 1.366 GB, free: 11.48 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.06331/1.252, allocations: 30.51 MB / 1.396 GB, free: 1.777 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/1.252, allocations: 15.94 kB / 1.396 GB, free: 1.762 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/1.254, allocations: 179.1 kB / 1.396 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/1.254, allocations: 399.9 kB / 1.396 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.254, allocations: 12 kB / 1.396 GB, free: 1.184 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/1.254, allocations: 23.91 kB / 1.396 GB, free: 1.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005075/1.255, allocations: 361 kB / 1.397 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/1.255, allocations: 0.6519 MB / 1.397 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.255, allocations: 11.75 kB / 1.397 GB, free: 276 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/1.255, allocations: 4 kB / 1.397 GB, free: 272 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/1.255, allocations: 47.16 kB / 1.397 GB, free: 228 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/1.258, allocations: 3.713 MB / 1.401 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/1.259, allocations: 434 kB / 1.401 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/1.259, allocations: 172.7 kB / 1.402 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/1.259, allocations: 7.5 kB / 1.402 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/1.259, allocations: 38.56 kB / 1.402 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/1.259, allocations: 0 / 1.402 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001382/1.261, allocations: 0.819 MB / 1.402 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/1.261, allocations: 110.6 kB / 1.403 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/1.261, allocations: 295 kB / 1.403 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.261, allocations: 25.7 kB / 1.403 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.261, allocations: 248.2 kB / 1.403 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/1.261, allocations: 107.3 kB / 1.403 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/1.261, allocations: 0 / 1.403 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/1.261, allocations: 348.9 kB / 1.404 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/1.262, allocations: 162.6 kB / 1.404 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/1.262, allocations: 343.6 kB / 1.404 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/1.262, allocations: 221.3 kB / 1.404 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.262, allocations: 0 / 1.404 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008892/1.263, allocations: 0.6019 MB / 1.405 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.263, allocations: 4 kB / 1.405 GB, free: 9.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.263, allocations: 8 kB / 1.405 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/1.263, allocations: 96.88 kB / 1.405 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/1.264, allocations: 103.3 kB / 1.405 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/1.267, allocations: 3.858 MB / 1.409 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/1.267, allocations: 15.98 kB / 1.409 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/1.267, allocations: 20 kB / 1.409 GB, free: 4.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.267, allocations: 119.9 kB / 1.409 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.267, allocations: 47.94 kB / 1.409 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000786/1.268, allocations: 0.4957 MB / 1.409 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.268, allocations: 4 kB / 1.409 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.268, allocations: 4 kB / 1.409 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.268, allocations: 3.984 kB / 1.41 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/1.269, allocations: 1.209 MB / 1.411 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.27, allocations: 0 / 1.411 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/1.27, allocations: 59.89 kB / 1.411 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/1.27, allocations: 98.72 kB / 1.411 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/1.27, allocations: 4 kB / 1.411 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/1.273, allocations: 3.857 MB / 1.415 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.273, allocations: 4.031 kB / 1.415 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007917/1.273, allocations: 0.8818 MB / 1.415 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009396/1.274, allocations: 1.271 MB / 1.417 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.274, allocations: 146.8 kB / 1.417 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/1.275, allocations: 4 kB / 1.417 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/1.275, allocations: 7.984 kB / 1.417 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/1.275, allocations: 35.31 kB / 1.417 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/1.275, allocations: 23.56 kB / 1.417 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001964/1.275, allocations: 230.2 kB / 1.417 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001196/1.276, allocations: 104 kB / 1.417 GB, free: 12.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0001343/1.276, allocations: 115.1 kB / 1.417 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009868/1.277, allocations: 0.7355 MB / 1.418 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.277, allocations: 0 / 1.418 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/1.278, allocations: 0.5135 MB / 1.419 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/1.279, allocations: 103.4 kB / 1.419 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.28, allocations: 0.6651 MB / 1.419 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/1.28, allocations: 0.91 MB / 1.42 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of SimCode: time 3e-07/1.28, allocations: 0 / 1.42 GB, free: 9.348 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat