Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.811/1.811, allocations: 390.4 MB / 397.7 MB, free: 10.7 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.0009862/0.0009863, allocations: 189 kB / 490.8 MB, free: 13.27 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.166/1.166, allocations: 221.4 MB / 0.7863 GB, free: 2.59 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 98.44 kB / 0.9264 GB, free: 39.94 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2494/0.2503, allocations: 149.1 MB / 1.072 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.7731, allocations: 143 MB / 1.212 GB, free: 63.33 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.9259, allocations: 149.9 MB / 1.358 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.9262, allocations: 71.95 kB / 1.358 GB, free: 6.859 MB / 0.8542 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.004056/0.9302, allocations: 1.502 MB / 1.36 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9303, allocations: 8 kB / 1.36 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.9303, allocations: 7.906 kB / 1.36 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.9304, allocations: 178.9 kB / 1.36 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.9304, allocations: 3.938 kB / 1.36 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9305, allocations: 4 kB / 1.36 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.916e-05/0.9305, allocations: 23.98 kB / 1.36 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.9306, allocations: 49.69 kB / 1.36 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.9306, allocations: 0 / 1.36 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.9306, allocations: 0 / 1.36 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.9307, allocations: 7.844 kB / 1.36 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.9311, allocations: 285.2 kB / 1.36 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.9313, allocations: 50.62 kB / 1.36 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.9313, allocations: 12.86 kB / 1.36 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.9313, allocations: 0 / 1.36 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.9313, allocations: 30.56 kB / 1.36 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.9314, allocations: 0 / 1.36 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001527/0.9315, allocations: 53.67 kB / 1.36 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.9315, allocations: 59.34 kB / 1.36 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.9316, allocations: 101 kB / 1.36 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.9316, allocations: 29.7 kB / 1.36 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.9317, allocations: 84.12 kB / 1.361 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.9317, allocations: 15.75 kB / 1.361 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.9317, allocations: 0 / 1.361 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.9318, allocations: 314.8 kB / 1.361 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.9318, allocations: 11.98 kB / 1.361 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.9318, allocations: 4 kB / 1.361 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.9319, allocations: 8 kB / 1.361 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.9319, allocations: 0 / 1.361 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.963e-05/0.9319, allocations: 57.59 kB / 1.361 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.932, allocations: 4 kB / 1.361 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.932, allocations: 0 / 1.361 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.932, allocations: 0 / 1.361 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.9321, allocations: 15.98 kB / 1.361 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.9321, allocations: 3.938 kB / 1.361 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.9321, allocations: 12 kB / 1.361 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9322, allocations: 0 / 1.361 GB, free: 3.758 MB / 0.8542 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 5.595e-05/0.9322, allocations: 104.9 kB / 1.361 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.9323, allocations: 4 kB / 1.361 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.9323, allocations: 7.984 kB / 1.361 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.9323, allocations: 0 / 1.361 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9323, allocations: 4 kB / 1.361 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9323, allocations: 7.906 kB / 1.361 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.9324, allocations: 150.5 kB / 1.361 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.9324, allocations: 4 kB / 1.361 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.9325, allocations: 11.98 kB / 1.361 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.9325, allocations: 0 / 1.361 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9325, allocations: 3.938 kB / 1.361 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.9326, allocations: 0 / 1.361 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9326, allocations: 4 kB / 1.361 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001119/0.9327, allocations: 143.5 kB / 1.361 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001814/0.9329, allocations: 0.5193 MB / 1.362 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.9329, allocations: 89 kB / 1.362 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.9329, allocations: 0 / 1.362 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.933, allocations: 4 kB / 1.362 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.9331, allocations: 8 kB / 1.362 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.9331, allocations: 7.984 kB / 1.362 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.12e-05/0.9331, allocations: 79.28 kB / 1.362 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007386/0.9338, allocations: 11.91 kB / 1.362 GB, free: 2.508 MB / 0.8542 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 8.181e-05/0.9339, allocations: 96.52 kB / 1.362 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.308e-05/0.934, allocations: 23.92 kB / 1.362 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.934, allocations: 4 kB / 1.362 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.9341, allocations: 8 kB / 1.362 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.9342, allocations: 8 kB / 1.362 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.9344, allocations: 76.3 kB / 1.362 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.9346, allocations: 0.6993 MB / 1.363 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/0.9346, allocations: 0 / 1.363 GB, free: 1.539 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat does not exist to compare? outputFormat=mat