Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.816/1.816, 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.0009996/0.0009997, allocations: 181.2 kB / 487 MB, free: 5.43 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.157/1.157, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0008146/0.0008145, allocations: 93.83 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4298/0.4306, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.6252, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5106/1.136, allocations: 147.5 MB / 1.349 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/1.136, allocations: 70.23 kB / 1.349 GB, free: 16.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004505/1.136, allocations: 359.2 kB / 1.35 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/1.137, allocations: 10.12 kB / 1.35 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/1.137, allocations: 0.8125 kB / 1.35 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.009e-05/1.137, allocations: 169.3 kB / 1.35 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/1.137, allocations: 0.6875 kB / 1.35 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-06/1.137, allocations: 5.297 kB / 1.35 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.937e-05/1.137, allocations: 1.781 kB / 1.35 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.283e-05/1.137, allocations: 31.52 kB / 1.35 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/1.137, allocations: 0.5938 kB / 1.35 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/1.137, allocations: 1.219 kB / 1.35 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/1.137, allocations: 0 / 1.35 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/1.137, allocations: 363 kB / 1.35 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.08e-05/1.137, allocations: 173.8 kB / 1.351 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/1.137, allocations: 82.59 kB / 1.351 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/1.137, allocations: 75.28 kB / 1.351 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/1.137, allocations: 111 kB / 1.351 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/1.137, allocations: 0 / 1.351 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.194e-05/1.137, allocations: 28.34 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.296e-05/1.137, allocations: 55.41 kB / 1.351 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/1.137, allocations: 89.41 kB / 1.351 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-06/1.137, allocations: 25.7 kB / 1.351 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/1.137, allocations: 83.09 kB / 1.351 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/1.137, allocations: 0 / 1.351 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/1.137, allocations: 0 / 1.351 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.13e-05/1.137, allocations: 316 kB / 1.351 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-06/1.137, allocations: 128 / 1.351 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-06/1.137, allocations: 4 kB / 1.351 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-06/1.137, allocations: 75.28 kB / 1.351 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.137, allocations: 76.59 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.574e-05/1.137, allocations: 32.28 kB / 1.352 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/1.137, allocations: 5.344 kB / 1.352 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.137, allocations: 80.5 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.137, allocations: 157.8 kB / 1.352 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-06/1.137, allocations: 83.22 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/1.137, allocations: 153.2 kB / 1.352 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/1.137, allocations: 75.28 kB / 1.352 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/1.137, allocations: 80.5 kB / 1.352 GB, free: 13.32 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 (0): * Single equations (assignments): 0 * 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 4.373e-05/1.138, allocations: 262.6 kB / 1.352 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/1.138, allocations: 102.3 kB / 1.352 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/1.138, allocations: 113 kB / 1.353 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.138, allocations: 185.3 kB / 1.353 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.138, allocations: 181 kB / 1.353 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.138, allocations: 176.6 kB / 1.353 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.27e-05/1.138, allocations: 387.3 kB / 1.353 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.138, allocations: 106.3 kB / 1.354 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/1.138, allocations: 104.9 kB / 1.354 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.269e-05/1.138, allocations: 185.4 kB / 1.354 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.138, allocations: 180.8 kB / 1.354 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/1.138, allocations: 177.6 kB / 1.354 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/1.138, allocations: 183.3 kB / 1.354 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.804e-05/1.138, allocations: 303.1 kB / 1.355 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 7.531e-05/1.138, allocations: 0.6701 MB / 1.355 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/1.138, allocations: 189.7 kB / 1.356 GB, free: 25.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/1.138, allocations: 181.5 kB / 1.356 GB, free: 25.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/1.138, allocations: 105.7 kB / 1.356 GB, free: 25.44 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/1.138, allocations: 177.5 kB / 1.356 GB, free: 25.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/1.138, allocations: 106.2 kB / 1.356 GB, free: 25.15 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.568e-05/1.138, allocations: 80.53 kB / 1.356 GB, free: 25.07 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007583/1.139, allocations: 9.266 kB / 1.356 GB, free: 25.06 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.0001089/1.139, allocations: 177.3 kB / 1.356 GB, free: 24.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.034e-05/1.139, allocations: 1.281 kB / 1.356 GB, free: 24.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.139, allocations: 0 / 1.356 GB, free: 24.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/1.139, allocations: 0 / 1.356 GB, free: 24.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/1.14, allocations: 0.5198 MB / 1.357 GB, free: 24.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001247/1.14, allocations: 124.1 kB / 1.357 GB, free: 24.24 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/1.14, allocations: 0.6822 MB / 1.358 GB, free: 23.54 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/1.14, allocations: 0 / 1.358 GB, free: 23.54 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat