Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",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.78/1.78, allocations: 390.4 MB / 397.7 MB, free: 10.62 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.001135/0.001135, allocations: 190.1 kB / 490.8 MB, free: 11.16 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.098/1.098, allocations: 221.4 MB / 0.7863 GB, free: 13.54 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.0009231/0.0009234, allocations: 96.44 kB / 0.9264 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2199/0.2209, allocations: 149.1 MB / 1.072 GB, free: 15.45 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.6953, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.823, allocations: 148.5 MB / 1.357 GB, free: 43.03 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001646/0.8232, allocations: 71.95 kB / 1.357 GB, free: 42.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004359/0.8237, allocations: 370.5 kB / 1.357 GB, free: 42.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.8237, allocations: 12.59 kB / 1.357 GB, free: 42.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.8238, allocations: 0 / 1.357 GB, free: 42.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.403e-05/0.8238, allocations: 159.9 kB / 1.357 GB, free: 42.35 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.8238, allocations: 0 / 1.357 GB, free: 42.35 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-06/0.8238, allocations: 1.781 kB / 1.357 GB, free: 42.35 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.591e-05/0.8239, allocations: 0 / 1.357 GB, free: 42.35 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.778e-05/0.8239, allocations: 37.59 kB / 1.357 GB, free: 42.31 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.8239, allocations: 0 / 1.357 GB, free: 42.31 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.8239, allocations: 0.625 kB / 1.357 GB, free: 42.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.824, allocations: 2.375 kB / 1.357 GB, free: 42.31 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.918e-05/0.824, allocations: 127.3 kB / 1.357 GB, free: 42.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 2.73e-05/0.8241, allocations: 26.75 kB / 1.357 GB, free: 42.12 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.8241, allocations: 9.734 kB / 1.357 GB, free: 42.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.8241, allocations: 0 / 1.357 GB, free: 42.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.15e-05/0.8241, allocations: 31.28 kB / 1.357 GB, free: 42.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.8241, allocations: 1 kB / 1.357 GB, free: 42.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 8.991e-05/0.8242, allocations: 33.61 kB / 1.358 GB, free: 42.03 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.351e-05/0.8242, allocations: 55.89 kB / 1.358 GB, free: 41.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.255e-05/0.8243, allocations: 85.5 kB / 1.358 GB, free: 41.87 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.8243, allocations: 30.52 kB / 1.358 GB, free: 41.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-06/0.8243, allocations: 81.05 kB / 1.358 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.8243, allocations: 0 / 1.358 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-06/0.8243, allocations: 3.375 kB / 1.358 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.8244, allocations: 311.6 kB / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-06/0.8244, allocations: 4.438 kB / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-06/0.8244, allocations: 0.5 kB / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.51e-05/0.8244, allocations: 8.594 kB / 1.358 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8244, allocations: 0.7812 kB / 1.358 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.945e-05/0.8244, allocations: 33.61 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.8245, allocations: 4.781 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8245, allocations: 0 / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.8245, allocations: 0.5 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.471e-05/0.8245, allocations: 8.797 kB / 1.358 GB, free: 41.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.8245, allocations: 0 / 1.358 GB, free: 41.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-06/0.8246, allocations: 4.328 kB / 1.358 GB, free: 41.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.8246, allocations: 0 / 1.358 GB, free: 41.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 3.151e-05/0.8246, allocations: 105 kB / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.8246, allocations: 0 / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.8246, allocations: 7.594 kB / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8246, allocations: 0 / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.8246, allocations: 1.469 kB / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.8247, allocations: 0 / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.488e-05/0.8247, allocations: 130.2 kB / 1.358 GB, free: 41.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8247, allocations: 0 / 1.358 GB, free: 41.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.028e-05/0.8247, allocations: 8.781 kB / 1.358 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8247, allocations: 0 / 1.358 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.8247, allocations: 7.125 kB / 1.358 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8247, allocations: 0 / 1.358 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8247, allocations: 3.906 kB / 1.358 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.289e-05/0.8248, allocations: 59.36 kB / 1.358 GB, free: 41.01 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 6.221e-05/0.8249, allocations: 438.9 kB / 1.359 GB, free: 40.56 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.8249, allocations: 77.11 kB / 1.359 GB, free: 40.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.8249, allocations: 0.5625 kB / 1.359 GB, free: 40.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.8249, allocations: 0.7812 kB / 1.359 GB, free: 40.47 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.8249, allocations: 7.938 kB / 1.359 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.8249, allocations: 0.75 kB / 1.359 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.115e-05/0.8249, allocations: 76.97 kB / 1.359 GB, free: 40.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008991/0.8258, allocations: 0 / 1.359 GB, free: 40.39 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 5.809e-05/0.8259, allocations: 101.8 kB / 1.359 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 3.947e-05/0.826, allocations: 0.5938 kB / 1.359 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.826, allocations: 0.6875 kB / 1.359 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.826, allocations: 4.969 kB / 1.359 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.955e-05/0.8261, allocations: 3.906 kB / 1.359 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001121/0.8262, allocations: 44.89 kB / 1.359 GB, free: 40.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.8263, allocations: 0.6879 MB / 1.36 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.8263, allocations: 1 kB / 1.36 GB, free: 39.49 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat does not exist to compare? outputFormat=mat