Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.492/2.492, allocations: 248.6 MB / 255.9 MB, free: 7.211 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.002633/0.002633, allocations: 181.2 kB / 315.1 MB, free: 4.281 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.23/2.23, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001346/0.001346, allocations: 99.25 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.499/0.5004, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.7251, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7336/1.459, allocations: 131.5 MB / 1.012 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.459, allocations: 67.56 kB / 1.012 GB, free: 8.68 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.004199/1.463, allocations: 0.9617 MB / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.463, allocations: 12 kB / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/1.463, allocations: 3.906 kB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.464, allocations: 174.8 kB / 1.013 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.464, allocations: 7.906 kB / 1.013 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/1.464, allocations: 0 / 1.013 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/1.464, allocations: 19.05 kB / 1.013 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/1.464, allocations: 48.56 kB / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.464, allocations: 3.984 kB / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/1.464, allocations: 4 kB / 1.013 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.464, allocations: 0 / 1.013 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/1.465, allocations: 282.9 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/1.465, allocations: 40.95 kB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/1.465, allocations: 15.98 kB / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/1.465, allocations: 0.75 kB / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/1.465, allocations: 65.52 kB / 1.014 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/1.465, allocations: 0 / 1.014 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002258/1.465, allocations: 64.8 kB / 1.014 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.465, allocations: 55.39 kB / 1.014 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/1.465, allocations: 107 kB / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/1.465, allocations: 25.7 kB / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/1.466, allocations: 91.72 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.466, allocations: 11.84 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/1.466, allocations: 4 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.466, allocations: 317.9 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/1.466, allocations: 15.06 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/1.466, allocations: 33.69 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.254e-05/1.466, allocations: 8.578 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.466, allocations: 0 / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003698/1.467, allocations: 80.47 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/1.467, allocations: 4 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.467, allocations: 0 / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.467, allocations: 4 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/1.467, allocations: 13.88 kB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.467, allocations: 0 / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/1.467, allocations: 20.05 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/1.467, allocations: 4.062 kB / 1.014 GB, free: 6.188 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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 0.0001389/1.468, allocations: 107 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/1.468, allocations: 7.906 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/1.468, allocations: 7.875 kB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.468, allocations: 0 / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.468, allocations: 0 / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.468, allocations: 4 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/1.468, allocations: 157 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.468, allocations: 4 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/1.468, allocations: 0 / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.468, allocations: 0 / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.468, allocations: 4 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.468, allocations: 7.922 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.468, allocations: 0 / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000168/1.468, allocations: 87.34 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003368/1.469, allocations: 475 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/1.469, allocations: 84.33 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/1.469, allocations: 0.8125 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/1.469, allocations: 15.98 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/1.469, allocations: 11.98 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/1.469, allocations: 0 / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.648e-05/1.469, allocations: 101.4 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001064/1.47, allocations: 12 kB / 1.015 GB, free: 5.059 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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.0001521/1.47, allocations: 95.44 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001695/1.47, allocations: 33.81 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.47, allocations: 6.5 kB / 1.016 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/1.471, allocations: 31.19 kB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/1.471, allocations: 11.98 kB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/1.471, allocations: 97.42 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/1.472, allocations: 0.6997 MB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/1.472, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB