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.Not.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.Not,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.37/1.37, allocations: 285.5 MB / 292.8 MB, free: 9.867 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: 199.2 kB / 361.1 MB, free: 340 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.063/1.063, allocations: 205.1 MB / 0.6195 GB, free: 2.82 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007753/0.0007753, allocations: 88.33 kB / 0.7326 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3587/0.3595, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.5016, allocations: 115.3 MB / 0.9638 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4221/0.9237, allocations: 137.2 MB / 1.098 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000166/0.9239, allocations: 68.64 kB / 1.098 GB, free: 44.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004429/0.9283, allocations: 1.82 MB / 1.1 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.9284, allocations: 9.594 kB / 1.1 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.9284, allocations: 9.156 kB / 1.1 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.164e-05/0.9285, allocations: 165.6 kB / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.9285, allocations: 0 / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.9285, allocations: 10.34 kB / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.074e-05/0.9286, allocations: 5.625 kB / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.394e-05/0.9286, allocations: 36.11 kB / 1.1 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.9286, allocations: 0 / 1.1 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.9286, allocations: 3.906 kB / 1.1 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.9286, allocations: 0 / 1.1 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.9289, allocations: 268.3 kB / 1.1 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.716e-05/0.9289, allocations: 26.8 kB / 1.1 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.929, allocations: 11.98 kB / 1.1 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.929, allocations: 4 kB / 1.1 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.929, allocations: 50.48 kB / 1.1 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.929, allocations: 0 / 1.1 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001063/0.9291, allocations: 44.81 kB / 1.1 GB, free: 43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.381e-05/0.9291, allocations: 51.41 kB / 1.1 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.984e-05/0.9292, allocations: 103.9 kB / 1.1 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.9292, allocations: 29.64 kB / 1.1 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.9292, allocations: 96.83 kB / 1.101 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.9293, allocations: 3.906 kB / 1.101 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.9293, allocations: 3.188 kB / 1.101 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.29e-05/0.9293, allocations: 313.1 kB / 1.101 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.9294, allocations: 23.41 kB / 1.101 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.9294, allocations: 47.11 kB / 1.101 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.9296, allocations: 37.72 kB / 1.101 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9296, allocations: 3.938 kB / 1.101 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002402/0.9298, allocations: 112.9 kB / 1.101 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.9299, allocations: 11.75 kB / 1.101 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9299, allocations: 0 / 1.101 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.9299, allocations: 0 / 1.101 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.178e-05/0.9299, allocations: 96 / 1.101 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.9299, allocations: 7.969 kB / 1.101 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.9301, allocations: 37.89 kB / 1.101 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.9301, allocations: 11.7 kB / 1.101 GB, free: 42.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 4.802e-05/0.9302, allocations: 107.2 kB / 1.101 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.9302, allocations: 3.906 kB / 1.101 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.9302, allocations: 6.188 kB / 1.101 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.9302, allocations: 7.75 kB / 1.101 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9302, allocations: 0 / 1.101 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.9302, allocations: 0 / 1.101 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.495e-05/0.9303, allocations: 135.9 kB / 1.101 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.9303, allocations: 4 kB / 1.101 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-06/0.9303, allocations: 3.906 kB / 1.101 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.9303, allocations: 0 / 1.101 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.9303, allocations: 3.875 kB / 1.101 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9303, allocations: 0.6875 kB / 1.101 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9303, allocations: 0 / 1.101 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.531e-05/0.9304, allocations: 73.28 kB / 1.101 GB, free: 41.97 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000115/0.9305, allocations: 456.7 kB / 1.102 GB, free: 57.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.9305, allocations: 81.02 kB / 1.102 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.9305, allocations: 0.5625 kB / 1.102 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.9306, allocations: 0 / 1.102 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.9306, allocations: 9.719 kB / 1.102 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.9306, allocations: 0 / 1.102 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.022e-05/0.9306, allocations: 89.16 kB / 1.102 GB, free: 57.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007179/0.9314, allocations: 25.06 kB / 1.102 GB, free: 57.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001219/0.9315, allocations: 124.8 kB / 1.102 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.9316, allocations: 75.27 kB / 1.102 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9316, allocations: 0 / 1.102 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.9317, allocations: 8.969 kB / 1.102 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.9318, allocations: 16.55 kB / 1.102 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000144/0.9319, allocations: 76.03 kB / 1.102 GB, free: 57.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.9322, allocations: 0.6872 MB / 1.103 GB, free: 56.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9322, allocations: 3.938 kB / 1.103 GB, free: 56.43 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1)