Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.12/2.12, allocations: 284.8 MB / 292.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 181.2 kB / 360.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 0.6187 GB, free: 13.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 88.56 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2439/0.2451, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.7883, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.9966, allocations: 137.4 MB / 1.097 GB, free: 3.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/0.997, allocations: 72.98 kB / 1.097 GB, free: 3.391 MB / 0.698 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.04084/1.038, allocations: 7.065 MB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.038, allocations: 12.5 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/1.038, allocations: 27.81 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/1.039, allocations: 270.7 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/1.039, allocations: 11.98 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/1.039, allocations: 24 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002631/1.039, allocations: 75.91 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/1.039, allocations: 132.2 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.039, allocations: 3.906 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/1.04, allocations: 9.312 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.04, allocations: 0.6562 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/1.041, allocations: 0.6688 MB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/1.041, allocations: 171.6 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/1.041, allocations: 36.86 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/1.041, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/1.042, allocations: 120.9 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 2.415e-06/1.042, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0005163/1.042, allocations: 156.4 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.042, allocations: 59.39 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/1.042, allocations: 161.5 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.98e-05/1.043, allocations: 37.64 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.043, allocations: 120.6 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/1.043, allocations: 39.52 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/1.043, allocations: 8 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.043, allocations: 326.8 kB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/1.044, allocations: 132 kB / 1.106 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/1.044, allocations: 214.3 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.045, allocations: 195.7 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.045, allocations: 7.906 kB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002136/1.048, allocations: 463.3 kB / 1.107 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.048, allocations: 4 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.048, allocations: 4 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.048, allocations: 4 kB / 1.107 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/1.048, allocations: 11.92 kB / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.048, allocations: 10.75 kB / 1.107 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.049, allocations: 207.9 kB / 1.107 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.049, allocations: 33.53 kB / 1.107 GB, free: 8.438 MB / 0.7136 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.0002068/1.05, allocations: 136.5 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/1.05, allocations: 19.7 kB / 1.108 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/1.05, allocations: 13.59 kB / 1.108 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.05, allocations: 4 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.05, allocations: 0 / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.05, allocations: 0 / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/1.051, allocations: 450.8 kB / 1.108 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.051, allocations: 0 / 1.108 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/1.051, allocations: 8 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.051, allocations: 0 / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/1.051, allocations: 11.97 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.051, allocations: 0 / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.051, allocations: 1.75 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004007/1.051, allocations: 247.2 kB / 1.108 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005732/1.052, allocations: 0.62 MB / 1.109 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/1.052, allocations: 88.92 kB / 1.109 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/1.052, allocations: 0 / 1.109 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/1.052, allocations: 4 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/1.052, allocations: 18.78 kB / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/1.052, allocations: 11.98 kB / 1.109 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001114/1.052, allocations: 117 kB / 1.109 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001537/1.054, allocations: 75.91 kB / 1.109 GB, free: 6.535 MB / 0.7136 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.0002187/1.054, allocations: 123.1 kB / 1.109 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009553/1.055, allocations: 400.3 kB / 1.11 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.055, allocations: 0 / 1.11 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/1.055, allocations: 71.94 kB / 1.11 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/1.056, allocations: 46.83 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/1.056, allocations: 216.2 kB / 1.11 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/1.057, allocations: 0.7511 MB / 1.111 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/1.057, allocations: 4 kB / 1.111 GB, free: 4.855 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)