Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.812/1.812, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.000952/0.0009523, allocations: 186.2 kB / 490.8 MB, free: 1.957 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.142/1.142, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008712/0.0008713, allocations: 91.12 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4353/0.4362, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.6262, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5113/1.138, allocations: 149.6 MB / 1.358 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/1.138, allocations: 68.42 kB / 1.358 GB, free: 17.17 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0191/1.157, allocations: 7.094 MB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.157, allocations: 9.469 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/1.157, allocations: 32.44 kB / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/1.157, allocations: 270.5 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.157, allocations: 5.562 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/1.157, allocations: 24.12 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001596/1.158, allocations: 77.05 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/1.158, allocations: 141.4 kB / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/1.158, allocations: 3.938 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.158, allocations: 2.562 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.158, allocations: 6.438 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/1.159, allocations: 0.6737 MB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/1.159, allocations: 156.7 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/1.159, allocations: 38.55 kB / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/1.159, allocations: 0 / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/1.159, allocations: 132.1 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/1.159, allocations: 1.438 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0002922/1.159, allocations: 148.1 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/1.159, allocations: 55.48 kB / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/1.16, allocations: 167.7 kB / 1.367 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/1.16, allocations: 33.77 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/1.16, allocations: 122 kB / 1.367 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/1.16, allocations: 37.86 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/1.16, allocations: 10.53 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/1.16, allocations: 328.3 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/1.16, allocations: 132.7 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/1.16, allocations: 223.7 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/1.161, allocations: 184 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.161, allocations: 0 / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001168/1.162, allocations: 475.7 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.162, allocations: 8.672 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.162, allocations: 6.5 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.162, allocations: 4.719 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.055e-05/1.162, allocations: 16.33 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.162, allocations: 3.188 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/1.163, allocations: 206.1 kB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/1.163, allocations: 35.34 kB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001294/1.163, allocations: 121.1 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/1.163, allocations: 18.88 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/1.164, allocations: 22.09 kB / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.164, allocations: 10.09 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.164, allocations: 5.391 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.164, allocations: 1.094 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/1.164, allocations: 438 kB / 1.369 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.164, allocations: 1.406 kB / 1.369 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/1.164, allocations: 12.38 kB / 1.369 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.164, allocations: 4.812 kB / 1.369 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/1.164, allocations: 4.047 kB / 1.369 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.164, allocations: 1.312 kB / 1.369 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.164, allocations: 4 kB / 1.369 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002099/1.164, allocations: 243.7 kB / 1.369 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003352/1.165, allocations: 0.6128 MB / 1.37 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/1.165, allocations: 88.67 kB / 1.37 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/1.165, allocations: 6.781 kB / 1.37 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/1.165, allocations: 6.859 kB / 1.37 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/1.165, allocations: 18.25 kB / 1.37 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.165, allocations: 9.875 kB / 1.37 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.985e-05/1.165, allocations: 113.8 kB / 1.37 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000923/1.166, allocations: 72.77 kB / 1.37 GB, free: 29.28 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001518/1.166, allocations: 118.2 kB / 1.37 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005122/1.166, allocations: 408.6 kB / 1.371 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.166, allocations: 0 / 1.371 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/1.167, allocations: 71.8 kB / 1.371 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/1.167, allocations: 32.17 kB / 1.371 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/1.167, allocations: 224 kB / 1.371 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.168, allocations: 0.7521 MB / 1.372 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.168, allocations: 0 / 1.372 GB, free: 28.2 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat does not exist to compare? outputFormat=mat