Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.1-maint.8.0.x/package.mo): time 1.314/1.314, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009384/0.0009384, allocations: 177.3 kB / 361.1 MB, free: 7.078 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.004/1.004, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0007529/0.0007529, allocations: 93.08 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1718/0.1726, allocations: 121.5 MB / 0.8512 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.5676, allocations: 115.3 MB / 0.9638 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.6944, allocations: 137.3 MB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.6946, allocations: 68.53 kB / 1.098 GB, free: 2.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.008109/0.7027, allocations: 3.019 MB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.7028, allocations: 8.5 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.7028, allocations: 9.812 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.7029, allocations: 167 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.703, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.703, allocations: 11.75 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.421e-05/0.7031, allocations: 12 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.102e-05/0.7031, allocations: 46.19 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.7031, allocations: 7.984 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.7032, allocations: 0 / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7032, allocations: 7.906 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.7036, allocations: 325.4 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.7036, allocations: 38.55 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.7037, allocations: 12.86 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.7037, allocations: 11.91 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/0.7037, allocations: 59.44 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.7038, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001564/0.7039, allocations: 69.59 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.7039, allocations: 59.39 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.704, allocations: 105.1 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.7041, allocations: 29.7 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.7041, allocations: 100.2 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.7041, allocations: 15.89 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.7042, allocations: 7.938 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.7042, allocations: 322.7 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.7044, allocations: 44 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.7045, allocations: 88.22 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.7048, allocations: 71.92 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7048, allocations: 1.594 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004908/0.7053, allocations: 205.4 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.7053, allocations: 4 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.7053, allocations: 2.438 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7053, allocations: 4 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.415e-05/0.7053, allocations: 0 / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.7053, allocations: 4 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.7057, allocations: 76 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.7057, allocations: 11.98 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.569e-05/0.7058, allocations: 120.8 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.7058, allocations: 7.984 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.7058, allocations: 12.28 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7059, allocations: 1.594 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.7059, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7059, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.093e-05/0.706, allocations: 150.2 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.706, allocations: 0 / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-06/0.706, allocations: 0 / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.706, allocations: 0 / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.706, allocations: 11.98 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.706, allocations: 0 / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.706, allocations: 4 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000104/0.7061, allocations: 91.2 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001845/0.7063, allocations: 483 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.7064, allocations: 85.02 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.7064, allocations: 4 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.7064, allocations: 4 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.7064, allocations: 7.984 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.7065, allocations: 0 / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.719e-05/0.7065, allocations: 94.36 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007574/0.7073, allocations: 35.94 kB / 1.104 GB, free: 12.36 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001357/0.7074, allocations: 117.1 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.7076, allocations: 151.3 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7076, allocations: 4.25 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.7077, allocations: 27.94 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.7079, allocations: 11.98 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.7081, allocations: 96.06 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.7083, allocations: 0.6997 MB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7083, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)