Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.771/1.771, allocations: 390.4 MB / 397.7 MB, free: 10.69 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.0009456/0.0009456, allocations: 172.5 kB / 490.8 MB, free: 11.22 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.111/1.111, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 90.34 kB / 0.9264 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2307/0.2315, allocations: 149.2 MB / 1.072 GB, free: 15.44 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.7592, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.8985, allocations: 148.8 MB / 1.357 GB, free: 42.77 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000144/0.8987, allocations: 68.89 kB / 1.357 GB, free: 42.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003952/0.9026, allocations: 1.563 MB / 1.359 GB, free: 41.15 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.9027, allocations: 8 kB / 1.359 GB, free: 41.14 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.9027, allocations: 12.72 kB / 1.359 GB, free: 41.13 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.9029, allocations: 206.8 kB / 1.359 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.9029, allocations: 0.7188 kB / 1.359 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.9029, allocations: 4 kB / 1.359 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001695/0.9031, allocations: 97.05 kB / 1.359 GB, free: 40.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.9032, allocations: 108 kB / 1.359 GB, free: 40.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.9032, allocations: 3.938 kB / 1.359 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9032, allocations: 4.562 kB / 1.359 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9033, allocations: 0.5938 kB / 1.359 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.9039, allocations: 0.4947 MB / 1.36 GB, free: 40.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.9041, allocations: 134.2 kB / 1.36 GB, free: 39.99 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.9042, allocations: 55.08 kB / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.9042, allocations: 3.375 kB / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.9042, allocations: 35.78 kB / 1.36 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.9042, allocations: 0 / 1.36 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0002388/0.9045, allocations: 134.4 kB / 1.36 GB, free: 39.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.9045, allocations: 77.61 kB / 1.36 GB, free: 39.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.9046, allocations: 143.6 kB / 1.36 GB, free: 39.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.9046, allocations: 29.7 kB / 1.36 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.9046, allocations: 100.8 kB / 1.36 GB, free: 39.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.9046, allocations: 19.66 kB / 1.36 GB, free: 39.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.9047, allocations: 4.625 kB / 1.36 GB, free: 39.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.9047, allocations: 323.3 kB / 1.361 GB, free: 39.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.9048, allocations: 48.53 kB / 1.361 GB, free: 38.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.9048, allocations: 54.2 kB / 1.361 GB, free: 38.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/0.9049, allocations: 48.73 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9049, allocations: 0.9688 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001607/0.9051, allocations: 133.5 kB / 1.361 GB, free: 38.74 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.9051, allocations: 4 kB / 1.361 GB, free: 38.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.9051, allocations: 4.906 kB / 1.361 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.9051, allocations: 0 / 1.361 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.9053, allocations: 44.25 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.9053, allocations: 0.5 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.9055, allocations: 39.52 kB / 1.361 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.9055, allocations: 8.5 kB / 1.361 GB, free: 38.65 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.669e-05/0.9056, allocations: 108.9 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.9056, allocations: 11.81 kB / 1.361 GB, free: 38.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.9057, allocations: 20.62 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9057, allocations: 0.8438 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9057, allocations: 0 / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9057, allocations: 4.484 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.9059, allocations: 195.8 kB / 1.361 GB, free: 38.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9059, allocations: 3.938 kB / 1.361 GB, free: 38.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.9061, allocations: 47.27 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.9061, allocations: 0.5625 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.9061, allocations: 4.5 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9061, allocations: 0 / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9061, allocations: 2.312 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002009/0.9063, allocations: 329.9 kB / 1.362 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002033/0.9065, allocations: 0.6782 MB / 1.362 GB, free: 37.19 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.9066, allocations: 98.45 kB / 1.362 GB, free: 37.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.9066, allocations: 0 / 1.362 GB, free: 37.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.9068, allocations: 30.91 kB / 1.362 GB, free: 37.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.9069, allocations: 8.766 kB / 1.362 GB, free: 37.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.9069, allocations: 4 kB / 1.362 GB, free: 37.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.932e-05/0.9069, allocations: 117.8 kB / 1.363 GB, free: 36.92 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007983/0.9077, allocations: 19.98 kB / 1.363 GB, free: 36.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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/0.9079, allocations: 99.75 kB / 1.363 GB, free: 36.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.908, allocations: 100.8 kB / 1.363 GB, free: 36.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.908, allocations: 0.5 kB / 1.363 GB, free: 36.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.9081, allocations: 56.42 kB / 1.363 GB, free: 36.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.9083, allocations: 13.06 kB / 1.363 GB, free: 36.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.9087, allocations: 181.6 kB / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.9089, allocations: 0.7311 MB / 1.364 GB, free: 35.67 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/0.9089, allocations: 0.5938 kB / 1.364 GB, free: 35.67 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat