Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.752/1.752, allocations: 390.4 MB / 397.7 MB, free: 10.67 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.001099/0.001099, allocations: 179.9 kB / 490.8 MB, free: 11.2 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.091/1.091, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008155/0.0008155, allocations: 99.92 kB / 0.9264 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2262/0.227, allocations: 149.1 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/0.7315, allocations: 143 MB / 1.212 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.8879, allocations: 179.9 MB / 1.387 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.8882, allocations: 94.38 kB / 1.387 GB, free: 11.48 MB / 0.8855 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.04388/0.9321, allocations: 21.26 MB / 1.408 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.9322, allocations: 8 kB / 1.408 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008784/0.933, allocations: 108.3 kB / 1.408 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.9335, allocations: 288.7 kB / 1.409 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.9335, allocations: 9.125 kB / 1.409 GB, free: 5.684 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.9336, allocations: 12 kB / 1.409 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003968/0.934, allocations: 261.1 kB / 1.409 GB, free: 5.418 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.9345, allocations: 400.4 kB / 1.409 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.9345, allocations: 4 kB / 1.409 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.9346, allocations: 0 / 1.409 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.9346, allocations: 28.98 kB / 1.409 GB, free: 4.957 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.9368, allocations: 2.158 MB / 1.411 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.9371, allocations: 248.4 kB / 1.412 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.9373, allocations: 160.1 kB / 1.412 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.9373, allocations: 5.406 kB / 1.412 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.9373, allocations: 38.66 kB / 1.412 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.9373, allocations: 0.5938 kB / 1.412 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23): time 0.001106/0.9385, allocations: 0.7899 MB / 1.413 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.9385, allocations: 56.19 kB / 1.413 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.9387, allocations: 202 kB / 1.413 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.9387, allocations: 25.7 kB / 1.413 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.9388, allocations: 184.8 kB / 1.413 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.9388, allocations: 74.91 kB / 1.413 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.9389, allocations: 0 / 1.413 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.939, allocations: 339.6 kB / 1.413 GB, free: 440 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.9392, allocations: 143.9 kB / 1.414 GB, free: 296 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.9394, allocations: 228.6 kB / 1.414 GB, free: 36 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.9397, allocations: 197.6 kB / 1.414 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9398, allocations: 0.7812 kB / 1.414 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001003/0.9408, allocations: 0.5487 MB / 1.414 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.9408, allocations: 4 kB / 1.414 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9408, allocations: 4.906 kB / 1.414 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.9414, allocations: 184.7 kB / 1.415 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.9417, allocations: 55.91 kB / 1.415 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.9439, allocations: 2.149 MB / 1.417 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.9442, allocations: 12.06 kB / 1.417 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.9443, allocations: 8 kB / 1.417 GB, free: 12.77 MB / 0.9167 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.339e-05/0.9444, allocations: 124.8 kB / 1.417 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.9444, allocations: 23.72 kB / 1.417 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.9449, allocations: 339 kB / 1.417 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9449, allocations: 6.062 kB / 1.417 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.9449, allocations: 0 / 1.417 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.9449, allocations: 4 kB / 1.417 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008794/0.9458, allocations: 0.7501 MB / 1.418 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.9458, allocations: 7.938 kB / 1.418 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.9462, allocations: 71.94 kB / 1.418 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.9462, allocations: 0 / 1.418 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.9463, allocations: 7.938 kB / 1.418 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9463, allocations: 0.75 kB / 1.418 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9463, allocations: 4 kB / 1.418 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006382/0.9469, allocations: 0.6251 MB / 1.419 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009484/0.9479, allocations: 1.207 MB / 1.42 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.948, allocations: 129 kB / 1.42 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.9481, allocations: 4 kB / 1.42 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.9483, allocations: 13.72 kB / 1.42 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.9483, allocations: 11.98 kB / 1.42 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.9483, allocations: 8 kB / 1.42 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0001318/0.9485, allocations: 156.1 kB / 1.42 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009143/0.9494, allocations: 91.89 kB / 1.42 GB, free: 9.07 MB / 0.9167 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.0001514/0.9495, allocations: 119.1 kB / 1.42 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006992/0.9503, allocations: 494.2 kB / 1.421 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9503, allocations: 0 / 1.421 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.9504, allocations: 149.2 kB / 1.421 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.9508, allocations: 36.64 kB / 1.421 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.952, allocations: 0.7024 MB / 1.422 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.9524, allocations: 0.8313 MB / 1.423 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of SimCode: time 2.01e-07/0.9524, allocations: 0 / 1.423 GB, free: 6.695 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat does not exist to compare? outputFormat=mat