Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.801/1.801, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009367/0.0009368, allocations: 184.5 kB / 487 MB, free: 5.395 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.166/1.166, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.0008492/0.0008492, allocations: 92.62 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4187/0.4195, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.6182, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5578/1.176, allocations: 179.1 MB / 1.38 GB, free: 14.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.176, allocations: 93.66 kB / 1.38 GB, free: 14 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.04627/1.223, allocations: 21.26 MB / 1.401 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/1.223, allocations: 13 kB / 1.401 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008559/1.224, allocations: 107.5 kB / 1.401 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/1.224, allocations: 285.5 kB / 1.401 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.224, allocations: 8 kB / 1.401 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/1.224, allocations: 24 kB / 1.401 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003821/1.224, allocations: 261.3 kB / 1.402 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/1.225, allocations: 398.5 kB / 1.402 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.225, allocations: 0 / 1.402 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/1.225, allocations: 8 kB / 1.402 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/1.225, allocations: 24.48 kB / 1.402 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/1.227, allocations: 2.151 MB / 1.404 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/1.227, allocations: 255.1 kB / 1.404 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/1.228, allocations: 157.7 kB / 1.405 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/1.228, allocations: 192 / 1.405 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/1.228, allocations: 34.75 kB / 1.405 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/1.228, allocations: 3.938 kB / 1.405 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.001057/1.229, allocations: 0.7969 MB / 1.405 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/1.229, allocations: 55.41 kB / 1.405 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/1.229, allocations: 195.2 kB / 1.406 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/1.229, allocations: 25.7 kB / 1.406 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/1.229, allocations: 185.8 kB / 1.406 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/1.229, allocations: 76.03 kB / 1.406 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/1.229, allocations: 0 / 1.406 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/1.229, allocations: 337.2 kB / 1.406 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/1.229, allocations: 151.9 kB / 1.406 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/1.23, allocations: 222.9 kB / 1.407 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/1.23, allocations: 194.3 kB / 1.407 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/1.23, allocations: 4 kB / 1.407 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009898/1.231, allocations: 0.5439 MB / 1.407 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.231, allocations: 8 kB / 1.407 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.231, allocations: 0 / 1.407 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/1.232, allocations: 186.6 kB / 1.408 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/1.232, allocations: 59.16 kB / 1.408 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/1.234, allocations: 2.142 MB / 1.41 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/1.234, allocations: 4 kB / 1.41 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/1.234, allocations: 19.78 kB / 1.41 GB, free: 4.031 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.727e-05/1.235, allocations: 120.9 kB / 1.41 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/1.235, allocations: 19.72 kB / 1.41 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/1.235, allocations: 347.6 kB / 1.41 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.235, allocations: 4 kB / 1.41 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/1.235, allocations: 0 / 1.41 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.235, allocations: 0 / 1.41 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/1.236, allocations: 0.7572 MB / 1.411 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.236, allocations: 0 / 1.411 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/1.236, allocations: 71.94 kB / 1.411 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.236, allocations: 0 / 1.411 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.236, allocations: 7.875 kB / 1.411 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.236, allocations: 0 / 1.411 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.236, allocations: 4.047 kB / 1.411 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006408/1.237, allocations: 0.6341 MB / 1.412 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009752/1.238, allocations: 1.206 MB / 1.413 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.238, allocations: 127.4 kB / 1.413 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/1.238, allocations: 7.984 kB / 1.413 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/1.238, allocations: 192 / 1.413 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/1.238, allocations: 15.89 kB / 1.413 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/1.238, allocations: 11.11 kB / 1.413 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001184/1.239, allocations: 159.8 kB / 1.413 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009259/1.24, allocations: 95.05 kB / 1.413 GB, free: 0.9727 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/1.24, allocations: 119.1 kB / 1.413 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007522/1.24, allocations: 494.1 kB / 1.414 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.24, allocations: 128 / 1.414 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/1.241, allocations: 150.8 kB / 1.414 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/1.241, allocations: 38.83 kB / 1.414 GB, free: 344 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/1.242, allocations: 0.7003 MB / 1.415 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/1.243, allocations: 0.8345 MB / 1.415 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.243, allocations: 0 / 1.415 GB, free: 14.81 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat does not exist to compare? outputFormat=mat