Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.842/1.842, allocations: 387.2 MB / 394.5 MB, free: 13.58 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.000964/0.000964, allocations: 177.3 kB / 487 MB, free: 5.273 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.153/1.153, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0008455/0.0008455, allocations: 90.39 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4241/0.425, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.6116, allocations: 142.3 MB / 1.205 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6214/1.233, allocations: 147.5 MB / 1.349 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/1.233, allocations: 68.44 kB / 1.349 GB, free: 15.92 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.0004866/1.234, allocations: 359.1 kB / 1.35 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/1.234, allocations: 10.56 kB / 1.35 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/1.234, allocations: 2.531 kB / 1.35 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/1.234, allocations: 169.4 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/1.234, allocations: 2.562 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/1.234, allocations: 1.281 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.339e-05/1.234, allocations: 5.219 kB / 1.35 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.39e-05/1.234, allocations: 27.45 kB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/1.234, allocations: 0.5625 kB / 1.35 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/1.234, allocations: 4.656 kB / 1.35 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/1.234, allocations: 1.5 kB / 1.35 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/1.234, allocations: 358.8 kB / 1.35 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.642e-05/1.234, allocations: 177.8 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/1.234, allocations: 80.14 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/1.234, allocations: 77.72 kB / 1.351 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/1.234, allocations: 105.8 kB / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/1.234, allocations: 0 / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.614e-05/1.234, allocations: 32.58 kB / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.4e-05/1.234, allocations: 55.41 kB / 1.351 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.523e-05/1.234, allocations: 86.44 kB / 1.351 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/1.234, allocations: 25.7 kB / 1.351 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/1.234, allocations: 82.91 kB / 1.351 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/1.234, allocations: 3.875 kB / 1.351 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-07/1.234, allocations: 0.75 kB / 1.351 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.641e-05/1.234, allocations: 316.2 kB / 1.351 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/1.234, allocations: 4.125 kB / 1.351 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-06/1.234, allocations: 0 / 1.351 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.02e-05/1.235, allocations: 76.69 kB / 1.351 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.235, allocations: 75.28 kB / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.552e-05/1.235, allocations: 32.58 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/1.235, allocations: 5.188 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.235, allocations: 82.41 kB / 1.352 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/1.235, allocations: 151.1 kB / 1.352 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.106e-05/1.235, allocations: 87.44 kB / 1.352 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/1.235, allocations: 151.8 kB / 1.352 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/1.235, allocations: 76.83 kB / 1.352 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/1.235, allocations: 76.31 kB / 1.352 GB, free: 13.1 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.613e-05/1.235, allocations: 265.5 kB / 1.352 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/1.235, allocations: 103.7 kB / 1.353 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/1.235, allocations: 113 kB / 1.353 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/1.235, allocations: 182.7 kB / 1.353 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.235, allocations: 177.5 kB / 1.353 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/1.235, allocations: 178.9 kB / 1.353 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/1.235, allocations: 389.2 kB / 1.353 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.235, allocations: 107.3 kB / 1.354 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/1.235, allocations: 104.6 kB / 1.354 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/1.235, allocations: 185.3 kB / 1.354 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/1.235, allocations: 178.8 kB / 1.354 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/1.235, allocations: 179.5 kB / 1.354 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.131e-05/1.235, allocations: 181.5 kB / 1.354 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.17e-05/1.235, allocations: 306.2 kB / 1.355 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.448e-05/1.235, allocations: 0.6697 MB / 1.355 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/1.235, allocations: 188.7 kB / 1.356 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/1.235, allocations: 182.7 kB / 1.356 GB, free: 25.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/1.236, allocations: 101.8 kB / 1.356 GB, free: 25.22 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/1.236, allocations: 178.5 kB / 1.356 GB, free: 25.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/1.236, allocations: 110 kB / 1.356 GB, free: 24.93 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.651e-05/1.236, allocations: 77.92 kB / 1.356 GB, free: 24.85 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000858/1.237, allocations: 8 kB / 1.356 GB, free: 24.84 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.0001244/1.237, allocations: 176.4 kB / 1.356 GB, free: 24.68 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.14e-05/1.237, allocations: 1.469 kB / 1.356 GB, free: 24.68 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.237, allocations: 0 / 1.356 GB, free: 24.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/1.237, allocations: 1.219 kB / 1.356 GB, free: 24.68 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/1.237, allocations: 0.5199 MB / 1.357 GB, free: 24.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001355/1.237, allocations: 127.9 kB / 1.357 GB, free: 24.02 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.237, allocations: 0.6818 MB / 1.358 GB, free: 23.32 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.237, allocations: 0 / 1.358 GB, free: 23.32 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat