Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009756/0.0009757, allocations: 192.2 kB / 366.3 MB, free: 1.945 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.083/1.083, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008144/0.0008143, allocations: 78.88 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2032/0.204, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.6326, allocations: 116.3 MB / 0.9727 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.7715, allocations: 138.5 MB / 1.108 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.7718, allocations: 71.95 kB / 1.108 GB, free: 9.824 MB / 0.7136 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.01934/0.7911, allocations: 7.06 MB / 1.115 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.7912, allocations: 8 kB / 1.115 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.7912, allocations: 27.81 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.7916, allocations: 278.8 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7916, allocations: 4 kB / 1.115 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.7917, allocations: 28.62 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001519/0.7918, allocations: 71.97 kB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.792, allocations: 132.3 kB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.792, allocations: 7.906 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.7921, allocations: 3.984 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7921, allocations: 3.938 kB / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.7929, allocations: 0.6732 MB / 1.116 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.7931, allocations: 155.7 kB / 1.116 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.7932, allocations: 36.86 kB / 1.116 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.7932, allocations: 0 / 1.116 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.7933, allocations: 124.5 kB / 1.116 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.7934, allocations: 0 / 1.116 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002925/0.7937, allocations: 164.8 kB / 1.117 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.7937, allocations: 55.41 kB / 1.117 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.7938, allocations: 157.8 kB / 1.117 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.7939, allocations: 37.7 kB / 1.117 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.794, allocations: 125.1 kB / 1.117 GB, free: 488 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.794, allocations: 35.52 kB / 1.117 GB, free: 452 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.7941, allocations: 12 kB / 1.117 GB, free: 440 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7942, allocations: 330.8 kB / 1.117 GB, free: 100 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.7944, allocations: 132 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.7948, allocations: 226 kB / 1.118 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.7954, allocations: 183.4 kB / 1.118 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.7955, allocations: 3.906 kB / 1.118 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001168/0.7966, allocations: 473.2 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.7967, allocations: 4.344 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7967, allocations: 8 kB / 1.118 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7967, allocations: 4.562 kB / 1.118 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.7967, allocations: 11.94 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.7967, allocations: 11.88 kB / 1.118 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/0.7975, allocations: 199.7 kB / 1.118 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.7976, allocations: 32.53 kB / 1.119 GB, free: 14.79 MB / 0.7292 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.000122/0.7977, allocations: 125 kB / 1.119 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.7978, allocations: 23.66 kB / 1.119 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.7978, allocations: 21.59 kB / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7978, allocations: 0 / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7979, allocations: 0 / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7979, allocations: 11.97 kB / 1.119 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.7983, allocations: 435.5 kB / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7983, allocations: 0.5625 kB / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.7984, allocations: 11.92 kB / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7984, allocations: 0 / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.7984, allocations: 8 kB / 1.119 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7984, allocations: 0 / 1.119 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7984, allocations: 4 kB / 1.119 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002286/0.7986, allocations: 246.8 kB / 1.119 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003305/0.799, allocations: 0.612 MB / 1.12 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.799, allocations: 92.86 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.7991, allocations: 8 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.7991, allocations: 7.984 kB / 1.12 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.7992, allocations: 15.98 kB / 1.12 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.7992, allocations: 7.984 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.462e-05/0.7993, allocations: 111.3 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009389/0.8002, allocations: 72.56 kB / 1.12 GB, free: 12.89 MB / 0.7292 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.0001524/0.8004, allocations: 119.3 kB / 1.12 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.8009, allocations: 412.3 kB / 1.121 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8009, allocations: 0 / 1.121 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.8011, allocations: 71.92 kB / 1.121 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.8014, allocations: 36.23 kB / 1.121 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.8018, allocations: 239 kB / 1.121 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.8021, allocations: 0.7511 MB / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8021, allocations: 0 / 1.122 GB, free: 11.2 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)