Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.834/1.834, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001027/0.001027, allocations: 183.8 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.165/1.165, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0009031/0.000903, allocations: 93.44 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4369/0.4379, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.6304, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5443/1.175, allocations: 148.6 MB / 1.35 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/1.175, allocations: 69.88 kB / 1.35 GB, free: 15.81 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.01174/1.187, allocations: 4.215 MB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.187, allocations: 10.89 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/1.187, allocations: 14 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/1.187, allocations: 177.6 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.187, allocations: 2.031 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/1.187, allocations: 12.59 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.049e-05/1.187, allocations: 21.83 kB / 1.355 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.697e-05/1.187, allocations: 54.3 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/1.187, allocations: 0 / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/1.187, allocations: 1.516 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/1.187, allocations: 0.75 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/1.188, allocations: 396.4 kB / 1.355 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/1.188, allocations: 35.53 kB / 1.355 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/1.188, allocations: 19.98 kB / 1.355 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/1.188, allocations: 0.9062 kB / 1.355 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.833e-05/1.188, allocations: 79.81 kB / 1.355 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/1.188, allocations: 0 / 1.355 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002004/1.188, allocations: 90.59 kB / 1.355 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/1.188, allocations: 54.17 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/1.188, allocations: 128 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/1.188, allocations: 32.05 kB / 1.356 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/1.188, allocations: 95.25 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/1.188, allocations: 20.75 kB / 1.356 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/1.188, allocations: 8.938 kB / 1.356 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/1.188, allocations: 320.5 kB / 1.356 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/1.189, allocations: 73.75 kB / 1.356 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/1.189, allocations: 128.9 kB / 1.356 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/1.189, allocations: 109.8 kB / 1.356 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.189, allocations: 1.219 kB / 1.356 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007223/1.19, allocations: 281.3 kB / 1.357 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.19, allocations: 13.09 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.19, allocations: 1.406 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.19, allocations: 2.969 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/1.19, allocations: 4.016 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.19, allocations: 7.75 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/1.191, allocations: 119.8 kB / 1.357 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/1.191, allocations: 17.73 kB / 1.357 GB, free: 13.78 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,and1.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 7.476e-05/1.191, allocations: 117.7 kB / 1.357 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/1.191, allocations: 8.156 kB / 1.357 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/1.191, allocations: 12.56 kB / 1.357 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.191, allocations: 0.875 kB / 1.357 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.191, allocations: 0.75 kB / 1.357 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.191, allocations: 0.5625 kB / 1.357 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.694e-05/1.191, allocations: 165.4 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.191, allocations: 5.25 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/1.191, allocations: 10.12 kB / 1.357 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.191, allocations: 1.125 kB / 1.357 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/1.191, allocations: 1.953 kB / 1.357 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.191, allocations: 2.188 kB / 1.357 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.191, allocations: 3.938 kB / 1.357 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001267/1.191, allocations: 114.8 kB / 1.357 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001729/1.191, allocations: 497.4 kB / 1.358 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/1.191, allocations: 85.11 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/1.191, allocations: 1.781 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.585e-05/1.191, allocations: 5.625 kB / 1.358 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/1.191, allocations: 7.797 kB / 1.358 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/1.191, allocations: 11.77 kB / 1.358 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.635e-05/1.191, allocations: 99.08 kB / 1.358 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008117/1.192, allocations: 52.95 kB / 1.358 GB, free: 12.78 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,and1.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.0001448/1.192, allocations: 104.3 kB / 1.358 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003686/1.193, allocations: 227.2 kB / 1.358 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.193, allocations: 5.094 kB / 1.358 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/1.193, allocations: 39.3 kB / 1.358 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/1.193, allocations: 22.34 kB / 1.358 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/1.193, allocations: 117.4 kB / 1.358 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.194, allocations: 0.7143 MB / 1.359 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of SimCode: time 3.11e-07/1.194, allocations: 0 / 1.359 GB, free: 11.79 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat