Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.414/2.414, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001642/0.001642, allocations: 185.2 kB / 315.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.1 MB / 0.5658 GB, free: 348 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 90.88 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5159/0.5175, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.7344, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7201/1.455, allocations: 131.4 MB / 1.012 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/1.455, allocations: 76.19 kB / 1.012 GB, free: 8.703 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.003993/1.459, allocations: 0.6596 MB / 1.013 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.459, allocations: 8 kB / 1.013 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/1.459, allocations: 0 / 1.013 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/1.459, allocations: 171.7 kB / 1.013 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/1.46, allocations: 0 / 1.013 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/1.46, allocations: 0 / 1.013 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001063/1.46, allocations: 11.44 kB / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/1.46, allocations: 33.69 kB / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.46, allocations: 11.94 kB / 1.013 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.46, allocations: 0 / 1.013 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.46, allocations: 0 / 1.013 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/1.46, allocations: 228.5 kB / 1.013 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/1.461, allocations: 22.12 kB / 1.013 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/1.461, allocations: 16.41 kB / 1.013 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/1.461, allocations: 7.984 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/1.461, allocations: 50.98 kB / 1.013 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.716e-06/1.461, allocations: 0 / 1.013 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002211/1.461, allocations: 41.59 kB / 1.013 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.461, allocations: 55.03 kB / 1.013 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.461, allocations: 92.31 kB / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/1.461, allocations: 36.31 kB / 1.013 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/1.461, allocations: 84.14 kB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/1.462, allocations: 3.906 kB / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/1.462, allocations: 0 / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.462, allocations: 318 kB / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/1.462, allocations: 0 / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/1.462, allocations: 17.28 kB / 1.014 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/1.462, allocations: 11.48 kB / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.462, allocations: 4 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001842/1.462, allocations: 53.17 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.462, allocations: 6.969 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.462, allocations: 0 / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.462, allocations: 3.984 kB / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/1.462, allocations: 4 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.462, allocations: 0 / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/1.463, allocations: 4 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/1.463, allocations: 8.031 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.00013/1.463, allocations: 104.9 kB / 1.014 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/1.463, allocations: 11.89 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/1.463, allocations: 6 kB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.463, allocations: 0 / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.463, allocations: 0 / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.463, allocations: 0 / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/1.463, allocations: 137.4 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.463, allocations: 3.938 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/1.463, allocations: 4 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.463, allocations: 4 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.463, allocations: 0 / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.463, allocations: 3.984 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.463, allocations: 3.938 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001955/1.463, allocations: 72.16 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004208/1.464, allocations: 456.6 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/1.464, allocations: 77.11 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/1.464, allocations: 4.047 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.464, allocations: 11.97 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/1.464, allocations: 0 / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.464, allocations: 4.75 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.17e-05/1.464, allocations: 81.66 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001874/1.466, allocations: 11.91 kB / 1.015 GB, free: 5.605 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * 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.0002396/1.467, allocations: 99.23 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001756/1.467, allocations: 15.75 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.467, allocations: 2.562 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/1.467, allocations: 11.5 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/1.467, allocations: 4 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/1.468, allocations: 82.36 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/1.468, allocations: 0.6876 MB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of SimCode: time 1.844e-06/1.468, allocations: 4 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB