Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.135/2.135, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001606/0.001606, allocations: 177.3 kB / 360.3 MB, free: 7.551 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.65/1.65, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001234/0.001233, allocations: 88.06 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2519/0.2532, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.8219, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/1.028, allocations: 137.4 MB / 1.097 GB, free: 3.516 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.028, allocations: 73.41 kB / 1.097 GB, free: 3.445 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.03595/1.064, allocations: 7.069 MB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.064, allocations: 12.5 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/1.065, allocations: 27.81 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/1.065, allocations: 282.7 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/1.065, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/1.065, allocations: 25.88 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002707/1.066, allocations: 79.91 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/1.066, allocations: 132.2 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.066, allocations: 3.906 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/1.066, allocations: 0 / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.048e-06/1.066, allocations: 7.984 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/1.067, allocations: 0.6727 MB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/1.068, allocations: 167.6 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.068, allocations: 36.86 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/1.068, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/1.068, allocations: 113.2 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/1.068, allocations: 0 / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.000501/1.069, allocations: 160.6 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/1.069, allocations: 67.34 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/1.069, allocations: 153.3 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/1.069, allocations: 33.7 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/1.069, allocations: 124.6 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/1.069, allocations: 35.53 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/1.069, allocations: 8 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.069, allocations: 330.8 kB / 1.106 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/1.07, allocations: 136 kB / 1.106 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/1.071, allocations: 214.3 kB / 1.107 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.072, allocations: 193.9 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/1.072, allocations: 4.938 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002155/1.074, allocations: 461 kB / 1.107 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.074, allocations: 9.234 kB / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/1.074, allocations: 4 kB / 1.107 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.074, allocations: 4 kB / 1.107 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/1.074, allocations: 11.94 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.074, allocations: 4 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.076, allocations: 208 kB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.076, allocations: 33.91 kB / 1.107 GB, free: 8.492 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,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.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,mulAnd0.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.0002199/1.076, allocations: 138 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/1.076, allocations: 15.72 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/1.076, allocations: 20.88 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.076, allocations: 4 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/1.076, allocations: 3.984 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.076, allocations: 0 / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/1.077, allocations: 446.8 kB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.077, allocations: 4 kB / 1.108 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/1.077, allocations: 4 kB / 1.108 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.077, allocations: 3.984 kB / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.077, allocations: 8 kB / 1.108 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/1.077, allocations: 0 / 1.108 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.077, allocations: 0 / 1.108 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003943/1.078, allocations: 250.1 kB / 1.108 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005404/1.078, allocations: 0.6134 MB / 1.109 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/1.078, allocations: 90.67 kB / 1.109 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/1.079, allocations: 0 / 1.109 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.079, allocations: 7.984 kB / 1.109 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/1.079, allocations: 11.98 kB / 1.109 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/1.079, allocations: 15.98 kB / 1.109 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001219/1.079, allocations: 117 kB / 1.109 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00147/1.08, allocations: 71.91 kB / 1.109 GB, free: 6.594 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0002542/1.081, allocations: 127.1 kB / 1.109 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001087/1.082, allocations: 400.3 kB / 1.11 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.082, allocations: 0 / 1.11 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/1.082, allocations: 71.92 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/1.083, allocations: 43.5 kB / 1.11 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/1.083, allocations: 212.3 kB / 1.11 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/1.084, allocations: 0.7666 MB / 1.111 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.084, allocations: 0 / 1.111 GB, free: 4.906 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)