Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.766/1.766, allocations: 390.4 MB / 397.7 MB, free: 10.71 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.0009181/0.0009181, allocations: 174.9 kB / 490.8 MB, free: 11.24 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.113/1.113, 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.0008665/0.0008665, allocations: 102.6 kB / 0.9264 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2399/0.2408, allocations: 149.1 MB / 1.072 GB, free: 15.51 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.7527, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.886, allocations: 148.9 MB / 1.357 GB, free: 42.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001521/0.8862, allocations: 72.52 kB / 1.357 GB, free: 42.81 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002498/0.8887, allocations: 1.34 MB / 1.358 GB, free: 41.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.8888, allocations: 13.03 kB / 1.358 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.8888, allocations: 11.81 kB / 1.358 GB, free: 41.42 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.8889, allocations: 176 kB / 1.359 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.8889, allocations: 4.219 kB / 1.359 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.889, allocations: 4 kB / 1.359 GB, free: 41.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.68e-05/0.889, allocations: 49.05 kB / 1.359 GB, free: 41.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.8892, allocations: 98.42 kB / 1.359 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.8892, allocations: 0 / 1.359 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.8892, allocations: 1.125 kB / 1.359 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.8892, allocations: 4 kB / 1.359 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.8896, allocations: 445.4 kB / 1.359 GB, free: 40.58 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.8897, allocations: 47.25 kB / 1.359 GB, free: 40.52 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.8897, allocations: 31.31 kB / 1.359 GB, free: 40.48 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.8898, allocations: 0 / 1.359 GB, free: 40.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.8898, allocations: 35.31 kB / 1.359 GB, free: 40.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.8898, allocations: 0 / 1.359 GB, free: 40.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001549/0.8899, allocations: 58.56 kB / 1.359 GB, free: 40.38 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.89, allocations: 77.77 kB / 1.359 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.8901, allocations: 121.7 kB / 1.36 GB, free: 40.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.8901, allocations: 25.7 kB / 1.36 GB, free: 40.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.8901, allocations: 108.5 kB / 1.36 GB, free: 40.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.8901, allocations: 20.66 kB / 1.36 GB, free: 40 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.8901, allocations: 0 / 1.36 GB, free: 40 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.8902, allocations: 316 kB / 1.36 GB, free: 39.68 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.8902, allocations: 16 kB / 1.36 GB, free: 39.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.323e-05/0.8902, allocations: 18.62 kB / 1.36 GB, free: 39.64 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.8903, allocations: 15.98 kB / 1.36 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.8903, allocations: 0.5 kB / 1.36 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.37e-05/0.8904, allocations: 70.11 kB / 1.36 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.8904, allocations: 9.062 kB / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.8904, allocations: 3.188 kB / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.8904, allocations: 224 / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.8905, allocations: 8.781 kB / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.8905, allocations: 3.938 kB / 1.36 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.8905, allocations: 6.719 kB / 1.36 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.8905, allocations: 4 kB / 1.36 GB, free: 39.52 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.727e-05/0.8906, allocations: 108.8 kB / 1.36 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.8906, allocations: 7.906 kB / 1.36 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.8906, allocations: 16.52 kB / 1.36 GB, free: 39.39 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.8906, allocations: 0.5 kB / 1.36 GB, free: 39.39 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8906, allocations: 3.906 kB / 1.36 GB, free: 39.39 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8906, allocations: 0.7812 kB / 1.36 GB, free: 39.39 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.8909, allocations: 487.2 kB / 1.361 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8909, allocations: 4.906 kB / 1.361 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.891, allocations: 4 kB / 1.361 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.891, allocations: 0 / 1.361 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.891, allocations: 5 kB / 1.361 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.891, allocations: 1.562 kB / 1.361 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.891, allocations: 4.562 kB / 1.361 GB, free: 38.84 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.81e-05/0.8911, allocations: 138 kB / 1.361 GB, free: 38.67 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001069/0.8912, allocations: 0.5095 MB / 1.361 GB, free: 38.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.8912, allocations: 89.02 kB / 1.361 GB, free: 38.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.8912, allocations: 3.984 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.462e-05/0.8913, allocations: 0.5 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.8913, allocations: 4.688 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.8913, allocations: 1.031 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.754e-05/0.8913, allocations: 110.3 kB / 1.362 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007031/0.892, allocations: 15.94 kB / 1.362 GB, free: 37.88 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000104/0.8921, allocations: 96.84 kB / 1.362 GB, free: 37.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.357e-05/0.8922, allocations: 27.94 kB / 1.362 GB, free: 37.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8922, allocations: 0.6562 kB / 1.362 GB, free: 37.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-05/0.8923, allocations: 12.56 kB / 1.362 GB, free: 37.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.8924, allocations: 12.38 kB / 1.362 GB, free: 37.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.8926, allocations: 136.2 kB / 1.362 GB, free: 37.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.8928, allocations: 0.7164 MB / 1.363 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.8928, allocations: 0 / 1.363 GB, free: 36.82 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat does not exist to compare? outputFormat=mat