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.Nand.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.Nand,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0008991/0.0008991, allocations: 169.3 kB / 361.1 MB, free: 7.098 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.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007485/0.0007485, allocations: 95.36 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1717/0.1724, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.5667, allocations: 115.3 MB / 0.9638 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.6947, allocations: 137.3 MB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.6949, allocations: 75.7 kB / 1.098 GB, free: 2.637 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.007965/0.7029, allocations: 3.011 MB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.7029, allocations: 8.5 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.703, allocations: 8 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.7031, allocations: 171.7 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.7031, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.7031, allocations: 8 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.46e-05/0.7032, allocations: 20 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.357e-05/0.7033, allocations: 51.42 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.7033, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.7033, allocations: 4 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7033, allocations: 3.906 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.7037, allocations: 329.4 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.335e-05/0.7037, allocations: 31.19 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.7038, allocations: 16.86 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.7038, allocations: 3.906 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.857e-05/0.7039, allocations: 67.42 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.7039, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001493/0.704, allocations: 70.11 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.704, allocations: 55.41 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.7041, allocations: 113.1 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.7042, allocations: 29.7 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.7042, allocations: 88.23 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.7042, allocations: 19.88 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.7043, allocations: 7.938 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.7043, allocations: 318.8 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.7044, allocations: 51.98 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.7046, allocations: 88.22 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.7048, allocations: 71.92 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7049, allocations: 1.406 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000464/0.7053, allocations: 197.4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7053, allocations: 10.17 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.7054, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.7054, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.53e-05/0.7054, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7054, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.7057, allocations: 81.25 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.7058, allocations: 12.61 kB / 1.103 GB, free: 13.58 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,nand1.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 6.786e-05/0.7058, allocations: 123.6 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.7059, allocations: 7.75 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.7059, allocations: 16.27 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7059, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.7059, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7059, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.996e-05/0.706, allocations: 154.2 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.706, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.706, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.706, allocations: 4.812 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.706, allocations: 4 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.706, allocations: 0 / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7061, allocations: 0 / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001033/0.7062, allocations: 102.6 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001797/0.7063, allocations: 477.4 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.7064, allocations: 91.25 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.7064, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.7064, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.7065, allocations: 7.984 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.7065, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.244e-05/0.7065, allocations: 87.28 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007523/0.7073, allocations: 43.92 kB / 1.104 GB, free: 12.39 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,nand1.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.000124/0.7074, allocations: 111 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.7076, allocations: 159.3 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.7076, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.7077, allocations: 23.94 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.7078, allocations: 15.98 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.7081, allocations: 97.56 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.7083, allocations: 0.705 MB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.7083, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)