Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.818/1.818, 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.0009526/0.0009524, allocations: 176.4 kB / 487 MB, free: 5.395 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.173/1.173, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008294/0.0008293, allocations: 103.8 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4352/0.436, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.6335, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5338/1.167, allocations: 148.6 MB / 1.35 GB, free: 16.22 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/1.168, allocations: 66.64 kB / 1.35 GB, free: 16.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0126/1.18, allocations: 4.211 MB / 1.355 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.18, allocations: 14.25 kB / 1.355 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/1.18, allocations: 13.91 kB / 1.355 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/1.18, allocations: 176.2 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.18, allocations: 3.656 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/1.181, allocations: 15.69 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.206e-05/1.181, allocations: 16.16 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/1.181, allocations: 48.41 kB / 1.355 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/1.181, allocations: 0 / 1.355 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.181, allocations: 0.7188 kB / 1.355 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.181, allocations: 0.9062 kB / 1.355 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/1.181, allocations: 407.6 kB / 1.355 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.798e-05/1.181, allocations: 31.27 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/1.181, allocations: 19.67 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/1.181, allocations: 1.094 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/1.182, allocations: 84.78 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/1.182, allocations: 0 / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002635/1.182, allocations: 89.09 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.182, allocations: 55.44 kB / 1.356 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/1.182, allocations: 122.9 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/1.182, allocations: 35.14 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/1.182, allocations: 91.89 kB / 1.356 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/1.182, allocations: 25.95 kB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/1.182, allocations: 9.219 kB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/1.182, allocations: 319.3 kB / 1.356 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/1.183, allocations: 77.67 kB / 1.356 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/1.183, allocations: 118.1 kB / 1.356 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/1.183, allocations: 111.3 kB / 1.356 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.183, allocations: 0.9375 kB / 1.356 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008425/1.184, allocations: 283.3 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.184, allocations: 9.031 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.184, allocations: 2.781 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.184, allocations: 3.484 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-05/1.184, allocations: 12.12 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.184, allocations: 2.438 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/1.185, allocations: 116.4 kB / 1.357 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/1.185, allocations: 23.69 kB / 1.357 GB, free: 14.18 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001045/1.185, allocations: 117.9 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/1.185, allocations: 9.484 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/1.185, allocations: 6.375 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.185, allocations: 1.406 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/1.185, allocations: 2.875 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.185, allocations: 3.938 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/1.185, allocations: 164.1 kB / 1.357 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.185, allocations: 3.281 kB / 1.357 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/1.185, allocations: 9.25 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.185, allocations: 1.125 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.185, allocations: 3.125 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.185, allocations: 0 / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.185, allocations: 4.844 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001766/1.186, allocations: 117.1 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002581/1.186, allocations: 0.492 MB / 1.358 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/1.186, allocations: 83.27 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/1.186, allocations: 2.375 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.607e-05/1.186, allocations: 1.891 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/1.186, allocations: 8.281 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.186, allocations: 6.688 kB / 1.358 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.052e-05/1.186, allocations: 94.44 kB / 1.358 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009211/1.187, allocations: 54.75 kB / 1.358 GB, free: 13.19 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001638/1.187, allocations: 109.8 kB / 1.358 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003795/1.188, allocations: 235.3 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.188, allocations: 0.75 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/1.188, allocations: 32.11 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/1.188, allocations: 26.47 kB / 1.358 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/1.188, allocations: 117.8 kB / 1.358 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/1.189, allocations: 0.7124 MB / 1.359 GB, free: 28.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/1.189, allocations: 0 / 1.359 GB, free: 28.2 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat does not exist to compare? outputFormat=mat