Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.364/1.364, allocations: 289.8 MB / 297 MB, free: 6.605 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.001003/0.001003, allocations: 189.2 kB / 366.3 MB, free: 1.961 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.058/1.058, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0008374/0.0008374, allocations: 89.31 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2045/0.2053, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.6579, allocations: 116.3 MB / 0.9727 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.7982, allocations: 138.2 MB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.7984, allocations: 67.95 kB / 1.108 GB, free: 10.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.008373/0.8068, allocations: 3.02 MB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.8069, allocations: 9.125 kB / 1.111 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.8069, allocations: 8 kB / 1.111 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.807, allocations: 163 kB / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.8071, allocations: 4 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.8071, allocations: 15.98 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.739e-05/0.8072, allocations: 15.94 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.8073, allocations: 41.69 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.8073, allocations: 4 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.8073, allocations: 1.219 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.8073, allocations: 3.906 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.8078, allocations: 333.4 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.093e-05/0.8078, allocations: 34.58 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.8079, allocations: 12.86 kB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.8079, allocations: 7.844 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.016e-05/0.808, allocations: 67.48 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.808, allocations: 0 / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001551/0.8081, allocations: 69.59 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.8082, allocations: 55.41 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.8083, allocations: 110.6 kB / 1.112 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.8083, allocations: 29.7 kB / 1.112 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.8083, allocations: 92.23 kB / 1.112 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.8084, allocations: 11.89 kB / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.8084, allocations: 4 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.8085, allocations: 330.7 kB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.8086, allocations: 51.92 kB / 1.112 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.8087, allocations: 88.28 kB / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.809, allocations: 65.52 kB / 1.112 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8091, allocations: 4 kB / 1.112 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004744/0.8095, allocations: 197.4 kB / 1.112 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8096, allocations: 8 kB / 1.112 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.8096, allocations: 0 / 1.112 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.8096, allocations: 0 / 1.112 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.818e-05/0.8096, allocations: 9.484 kB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.8096, allocations: 0 / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.8099, allocations: 80.06 kB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.81, allocations: 15.98 kB / 1.113 GB, free: 5.008 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.989e-05/0.8101, allocations: 116.8 kB / 1.113 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.8101, allocations: 4 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.8101, allocations: 12.28 kB / 1.113 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8101, allocations: 4 kB / 1.113 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8101, allocations: 0 / 1.113 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8101, allocations: 0 / 1.113 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.863e-05/0.8102, allocations: 146.2 kB / 1.113 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.8102, allocations: 3.984 kB / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.8103, allocations: 4 kB / 1.113 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8103, allocations: 4 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.8103, allocations: 0 / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8103, allocations: 0 / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8103, allocations: 0.5625 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001023/0.8104, allocations: 100.9 kB / 1.113 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001751/0.8106, allocations: 487.5 kB / 1.113 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.8106, allocations: 81.02 kB / 1.113 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.8106, allocations: 3.984 kB / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.8107, allocations: 4 kB / 1.113 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.8107, allocations: 0.9375 kB / 1.113 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.8107, allocations: 8.047 kB / 1.113 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.461e-05/0.8108, allocations: 88.88 kB / 1.114 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007749/0.8115, allocations: 35.94 kB / 1.114 GB, free: 3.824 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.000142/0.8117, allocations: 119.2 kB / 1.114 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.8119, allocations: 155.3 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8119, allocations: 0 / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.812, allocations: 31.92 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.8122, allocations: 4 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.8124, allocations: 99.78 kB / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.8126, allocations: 0.7042 MB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8126, allocations: 0 / 1.115 GB, free: 2.648 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)