Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.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.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",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.844/1.844, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.000973/0.000973, 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.0009051/0.0009051, allocations: 93.98 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4065/0.4074, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.5881, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4963/1.084, allocations: 148.1 MB / 1.35 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001617/1.085, allocations: 63.84 kB / 1.35 GB, free: 15.74 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002674/1.087, allocations: 1.339 MB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/1.087, allocations: 14.56 kB / 1.351 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/1.087, allocations: 13.31 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/1.088, allocations: 179.1 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/1.088, allocations: 4.125 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.088, allocations: 13.42 kB / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.302e-05/1.088, allocations: 43.47 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.088, allocations: 91.81 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/1.088, allocations: 0 / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/1.088, allocations: 4 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.088, allocations: 6.625 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/1.088, allocations: 438.2 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/1.088, allocations: 48.38 kB / 1.352 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/1.088, allocations: 30.98 kB / 1.352 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/1.088, allocations: 5.25 kB / 1.352 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/1.088, allocations: 31.53 kB / 1.352 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/1.088, allocations: 0 / 1.352 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001377/1.089, allocations: 59.69 kB / 1.352 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.598e-05/1.089, allocations: 77.11 kB / 1.352 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/1.089, allocations: 124.3 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/1.089, allocations: 25.7 kB / 1.352 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/1.089, allocations: 113.7 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/1.089, allocations: 14.3 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.089, allocations: 1.188 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.601e-05/1.089, allocations: 319.5 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/1.089, allocations: 10.28 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/1.089, allocations: 20.61 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/1.089, allocations: 12.06 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.089, allocations: 0 / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.102e-05/1.089, allocations: 71.34 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/1.089, allocations: 6.156 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.089, allocations: 1.594 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/1.089, allocations: 5.562 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/1.089, allocations: 7.531 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.089, allocations: 3.344 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/1.089, allocations: 0 / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.089, allocations: 3.062 kB / 1.353 GB, free: 13.85 MB / 0.8073 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.391e-05/1.089, allocations: 106.8 kB / 1.353 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/1.089, allocations: 11.44 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/1.089, allocations: 16.83 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.089, allocations: 0 / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.089, allocations: 5.75 kB / 1.353 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.089, allocations: 1.125 kB / 1.353 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/1.09, allocations: 484 kB / 1.354 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/1.09, allocations: 2.984 kB / 1.354 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/1.09, allocations: 6.188 kB / 1.354 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.09, allocations: 5.016 kB / 1.354 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/1.09, allocations: 5.844 kB / 1.354 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.09, allocations: 0.8438 kB / 1.354 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.09, allocations: 6.719 kB / 1.354 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.757e-05/1.09, allocations: 143.4 kB / 1.354 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.858e-05/1.09, allocations: 0.5035 MB / 1.354 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/1.09, allocations: 92.55 kB / 1.354 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/1.09, allocations: 1.375 kB / 1.354 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/1.09, allocations: 1.375 kB / 1.354 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/1.09, allocations: 11.3 kB / 1.354 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/1.09, allocations: 1.688 kB / 1.354 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.109e-05/1.09, allocations: 105.4 kB / 1.354 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007166/1.091, allocations: 17.66 kB / 1.354 GB, free: 12.4 MB / 0.8073 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 7.241e-05/1.091, allocations: 97.2 kB / 1.355 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.039e-05/1.091, allocations: 29.27 kB / 1.355 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.091, allocations: 0 / 1.355 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/1.091, allocations: 15.97 kB / 1.355 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.391e-05/1.091, allocations: 7.438 kB / 1.355 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/1.091, allocations: 125.9 kB / 1.355 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.091, allocations: 0.7188 MB / 1.355 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/1.091, allocations: 0 / 1.355 GB, free: 11.48 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat does not exist to compare? outputFormat=mat