Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.125/2.125, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001623/0.001622, allocations: 177.3 kB / 360.3 MB, free: 7.539 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.636/1.636, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.00118/0.00118, allocations: 87.61 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2469/0.2481, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.8135, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/1.021, allocations: 137.1 MB / 1.097 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.021, allocations: 63.97 kB / 1.097 GB, free: 3.672 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.01508/1.036, allocations: 3.019 MB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.036, allocations: 8.5 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/1.036, allocations: 8 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/1.036, allocations: 168.9 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.036, allocations: 3.938 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/1.036, allocations: 16 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.854e-05/1.037, allocations: 12 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/1.037, allocations: 43.56 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.037, allocations: 0 / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.037, allocations: 5.016 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.037, allocations: 3.906 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/1.037, allocations: 325.4 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.037, allocations: 38.58 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/1.038, allocations: 14.92 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/1.038, allocations: 3.906 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/1.038, allocations: 67.41 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/1.038, allocations: 0 / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000241/1.038, allocations: 69.59 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.038, allocations: 55.39 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.038, allocations: 117.1 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/1.038, allocations: 29.7 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/1.038, allocations: 96.22 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/1.038, allocations: 3.906 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/1.038, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.039, allocations: 330.7 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/1.039, allocations: 48.56 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.039, allocations: 84.28 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/1.04, allocations: 72.77 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.04, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008679/1.04, allocations: 205.6 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.04, allocations: 4 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.04, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.041, allocations: 4 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/1.041, allocations: 4 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.041, allocations: 4 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/1.041, allocations: 80 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/1.041, allocations: 11.98 kB / 1.102 GB, free: 14.6 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 0.0001286/1.041, allocations: 120.7 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/1.041, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/1.042, allocations: 22.33 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.042, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.042, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.042, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/1.042, allocations: 150.2 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.042, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/1.042, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.042, allocations: 4.609 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.042, allocations: 3.984 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/1.042, allocations: 4 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.042, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001843/1.042, allocations: 98.38 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003178/1.042, allocations: 477.4 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/1.042, allocations: 81.02 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/1.042, allocations: 4 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/1.043, allocations: 0 / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/1.043, allocations: 4.641 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/1.043, allocations: 8 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001161/1.043, allocations: 91.27 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001159/1.044, allocations: 31.94 kB / 1.103 GB, free: 13.43 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.0002155/1.044, allocations: 124.8 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004162/1.045, allocations: 157 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.045, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/1.045, allocations: 20 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/1.045, allocations: 12.84 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/1.045, allocations: 100.3 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/1.046, allocations: 0.7036 MB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.046, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)