Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 181.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008818/0.0008817, allocations: 89.12 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3377/0.3386, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.5024, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4712/0.9736, allocations: 131.7 MB / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.9738, allocations: 67.58 kB / 1.013 GB, free: 6.816 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002657/0.9765, allocations: 0.9592 MB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9765, allocations: 8 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.9766, allocations: 7.906 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.9767, allocations: 178.9 kB / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.9767, allocations: 11.97 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.9768, allocations: 0 / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.058e-05/0.9768, allocations: 17.5 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.709e-05/0.9769, allocations: 49.5 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.9769, allocations: 4 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.977, allocations: 0 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.977, allocations: 0 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.9773, allocations: 254.8 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.9774, allocations: 38.31 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.9774, allocations: 15.73 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.9774, allocations: 4 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.35e-05/0.9775, allocations: 65.16 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.9775, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001378/0.9777, allocations: 65.98 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.9777, allocations: 55.41 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.9778, allocations: 107.7 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.9778, allocations: 32.33 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.9778, allocations: 88.05 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.9778, allocations: 11.72 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.9779, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.9779, allocations: 322.5 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.978, allocations: 11.56 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.978, allocations: 27.83 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.978, allocations: 19.38 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.978, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.635e-05/0.9782, allocations: 68.39 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.9782, allocations: 8 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9782, allocations: 3.938 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.9782, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.9782, allocations: 7.984 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.9783, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.9784, allocations: 22.8 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.9784, allocations: 4 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.783e-05/0.9784, allocations: 105 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.9784, allocations: 3.906 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.9785, allocations: 11.69 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9785, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9785, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.9785, allocations: 7.906 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.9786, allocations: 148.8 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9786, allocations: 3.938 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.9786, allocations: 11.38 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9787, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.9787, allocations: 0.625 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.9787, allocations: 192 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9787, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001003/0.9788, allocations: 95.58 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001916/0.979, allocations: 474.7 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.979, allocations: 85.58 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.9791, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.9791, allocations: 19.98 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.9792, allocations: 11.89 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.9792, allocations: 7.984 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.84e-05/0.9793, allocations: 89.78 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007164/0.98, allocations: 8 kB / 1.017 GB, free: 3.227 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001077/0.9801, allocations: 101.6 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.9802, allocations: 42.91 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9802, allocations: 2.562 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.9802, allocations: 27.17 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.9804, allocations: 11.09 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.9807, allocations: 93.69 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.9809, allocations: 0.6998 MB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9809, allocations: 4 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)