Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.826/1.826, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001028/0.001028, allocations: 185.3 kB / 487 MB, free: 5.355 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.158/1.158, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008684/0.0008684, allocations: 96.34 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4382/0.4391, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.6381, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5293/1.167, allocations: 148 MB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/1.168, allocations: 67.97 kB / 1.35 GB, free: 15.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001835/1.17, allocations: 0.6959 MB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.17, allocations: 11.83 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/1.17, allocations: 5.219 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/1.17, allocations: 160.4 kB / 1.351 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/1.17, allocations: 1.344 kB / 1.351 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/1.17, allocations: 2.766 kB / 1.351 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.756e-05/1.17, allocations: 19.66 kB / 1.351 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.854e-05/1.17, allocations: 32.97 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/1.17, allocations: 0 / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/1.17, allocations: 7.891 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.17, allocations: 1.594 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/1.17, allocations: 252.3 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/1.17, allocations: 24.42 kB / 1.351 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/1.17, allocations: 12.48 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/1.17, allocations: 1.5 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/1.17, allocations: 39.66 kB / 1.351 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.17, allocations: 4 kB / 1.351 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001269/1.171, allocations: 38.45 kB / 1.351 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/1.171, allocations: 52.69 kB / 1.351 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/1.171, allocations: 94.27 kB / 1.351 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/1.171, allocations: 25.7 kB / 1.351 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.598e-05/1.171, allocations: 81.42 kB / 1.351 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/1.171, allocations: 6.922 kB / 1.351 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/1.171, allocations: 0 / 1.351 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.67e-05/1.171, allocations: 319.9 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/1.171, allocations: 2.594 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/1.171, allocations: 6.5 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.629e-05/1.171, allocations: 4.328 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.171, allocations: 0 / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.022e-05/1.171, allocations: 48.8 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/1.171, allocations: 5.438 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/1.171, allocations: 0 / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/1.171, allocations: 1.516 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/1.171, allocations: 16.14 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-06/1.171, allocations: 0.875 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/1.171, allocations: 10.12 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/1.171, allocations: 1.188 kB / 1.352 GB, free: 14.18 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 (2): * Single equations (assignments): 2 * 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.881e-05/1.171, allocations: 105 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/1.171, allocations: 6.062 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-05/1.171, allocations: 45.11 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/1.171, allocations: 1.062 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.171, allocations: 0 / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.171, allocations: 5.031 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/1.171, allocations: 137.8 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.171, allocations: 1.312 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/1.171, allocations: 19.75 kB / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.171, allocations: 1.281 kB / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/1.171, allocations: 0 / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/1.171, allocations: 0 / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.171, allocations: 1.219 kB / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.803e-05/1.172, allocations: 140.2 kB / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001018/1.172, allocations: 0.5084 MB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/1.172, allocations: 82.64 kB / 1.353 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/1.172, allocations: 1.547 kB / 1.353 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/1.172, allocations: 11.69 kB / 1.353 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/1.172, allocations: 7.031 kB / 1.353 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/1.172, allocations: 1.25 kB / 1.353 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.821e-05/1.172, allocations: 82.5 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000739/1.173, allocations: 4.656 kB / 1.353 GB, free: 13.05 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 (2): * Single equations (assignments): 2 * 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.0001014/1.173, allocations: 102.1 kB / 1.353 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.044e-05/1.173, allocations: 12.72 kB / 1.353 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/1.173, allocations: 0 / 1.353 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-05/1.173, allocations: 13.28 kB / 1.353 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.0001564/1.173, allocations: 1.406 kB / 1.353 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/1.173, allocations: 61.8 kB / 1.353 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/1.173, allocations: 0.6881 MB / 1.354 GB, free: 28.18 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/1.173, allocations: 0 / 1.354 GB, free: 28.18 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat does not exist to compare? outputFormat=mat