Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",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 2.007/2.007, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001102/0.001102, allocations: 188.2 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.263/1.263, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008997/0.0008997, allocations: 94.38 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5758/0.5768, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.8637, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6556/1.519, allocations: 149.1 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/1.52, allocations: 77.67 kB / 1.351 GB, free: 15.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.004336/1.524, allocations: 1.492 MB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.524, allocations: 11.12 kB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/1.524, allocations: 2 kB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.524, allocations: 182.8 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/1.524, allocations: 2.438 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/1.524, allocations: 1.688 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.955e-05/1.524, allocations: 22.3 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.268e-05/1.524, allocations: 44.81 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.524, allocations: 0.9375 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.524, allocations: 3.906 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.524, allocations: 5.156 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/1.525, allocations: 284.8 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/1.525, allocations: 47.48 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/1.525, allocations: 13.7 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/1.525, allocations: 1.344 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/1.525, allocations: 33.88 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/1.525, allocations: 1.344 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0002117/1.526, allocations: 56.45 kB / 1.353 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.526, allocations: 52.62 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/1.526, allocations: 104.3 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/1.526, allocations: 25.7 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/1.526, allocations: 92.16 kB / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/1.526, allocations: 10.66 kB / 1.353 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/1.526, allocations: 0 / 1.353 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/1.526, allocations: 317.2 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/1.526, allocations: 7.75 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/1.526, allocations: 3.875 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/1.526, allocations: 9.5 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.526, allocations: 5 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.765e-05/1.526, allocations: 54.42 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.526, allocations: 4.719 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.526, allocations: 7.688 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.526, allocations: 0.7188 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.526, allocations: 11.84 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.526, allocations: 0.75 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/1.526, allocations: 10.67 kB / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/1.526, allocations: 1.844 kB / 1.354 GB, free: 14.15 MB / 0.8073 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 (3): * Single equations (assignments): 3 * 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 7.249e-05/1.526, allocations: 107 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/1.526, allocations: 5.828 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/1.527, allocations: 9.516 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.527, allocations: 1.188 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.527, allocations: 3.906 kB / 1.354 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.527, allocations: 3.375 kB / 1.354 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/1.527, allocations: 146.3 kB / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.527, allocations: 4 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/1.527, allocations: 11.73 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.527, allocations: 3.938 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.527, allocations: 2.141 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.527, allocations: 0.5312 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.527, allocations: 0.75 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001945/1.527, allocations: 153 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002157/1.527, allocations: 0.5161 MB / 1.355 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/1.527, allocations: 82.92 kB / 1.355 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/1.527, allocations: 1.188 kB / 1.355 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.527, allocations: 7.297 kB / 1.355 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/1.528, allocations: 5.938 kB / 1.355 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/1.528, allocations: 3.547 kB / 1.355 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.663e-05/1.528, allocations: 86.91 kB / 1.355 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000791/1.528, allocations: 10.7 kB / 1.355 GB, free: 13.04 MB / 0.8073 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 (3): * Single equations (assignments): 3 * 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.0001125/1.529, allocations: 98.41 kB / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/1.529, allocations: 25.67 kB / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.529, allocations: 0 / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/1.529, allocations: 16.42 kB / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/1.529, allocations: 2.375 kB / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/1.529, allocations: 77.16 kB / 1.355 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/1.529, allocations: 0.6956 MB / 1.356 GB, free: 28.17 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/1.529, allocations: 1 kB / 1.356 GB, free: 28.17 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat does not exist to compare? outputFormat=mat