Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.341/2.341, allocations: 248.6 MB / 255.9 MB, free: 7.18 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.001799/0.001799, allocations: 189.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.024/2.024, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001324/0.001324, allocations: 94.52 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5403/0.5416, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.7595, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.703/1.463, allocations: 131.5 MB / 1.012 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.463, allocations: 68.14 kB / 1.012 GB, free: 8.586 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.007024/1.47, allocations: 1.255 MB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.47, allocations: 11.94 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/1.47, allocations: 11.91 kB / 1.013 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/1.47, allocations: 178.8 kB / 1.013 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/1.47, allocations: 0 / 1.013 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/1.47, allocations: 4 kB / 1.013 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002253/1.471, allocations: 26.67 kB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/1.471, allocations: 62.72 kB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.471, allocations: 0.75 kB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/1.471, allocations: 0 / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.471, allocations: 0 / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.472, allocations: 320.7 kB / 1.014 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/1.472, allocations: 44.62 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/1.473, allocations: 23.86 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/1.473, allocations: 0 / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/1.473, allocations: 80.5 kB / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.514e-06/1.473, allocations: 0 / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003173/1.473, allocations: 83.08 kB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/1.473, allocations: 51.41 kB / 1.014 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/1.473, allocations: 120.9 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.473, allocations: 25.7 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/1.473, allocations: 87.08 kB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/1.473, allocations: 23.03 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/1.474, allocations: 0 / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002395/1.474, allocations: 318.3 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/1.474, allocations: 18.62 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/1.474, allocations: 44.67 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.657e-05/1.474, allocations: 19.06 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.474, allocations: 0 / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003351/1.475, allocations: 94.58 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.475, allocations: 4 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.475, allocations: 3.984 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.475, allocations: 4 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/1.475, allocations: 7.375 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/1.475, allocations: 7.938 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/1.475, allocations: 27.98 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/1.475, allocations: 8.125 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001955/1.476, allocations: 112.9 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/1.476, allocations: 11.84 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/1.476, allocations: 15.31 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.476, allocations: 0 / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.476, allocations: 0 / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/1.476, allocations: 4 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/1.476, allocations: 169 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.476, allocations: 0 / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/1.476, allocations: 0 / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.476, allocations: 0 / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/1.476, allocations: 4 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.476, allocations: 3.938 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.476, allocations: 7.984 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000328/1.477, allocations: 104.2 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003466/1.477, allocations: 492.8 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/1.477, allocations: 81.02 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/1.477, allocations: 0 / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/1.477, allocations: 27.97 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/1.477, allocations: 15.05 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/1.477, allocations: 4 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.098e-05/1.477, allocations: 102.5 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001102/1.479, allocations: 16 kB / 1.016 GB, free: 4.504 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001774/1.479, allocations: 99.19 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002257/1.479, allocations: 60.55 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.479, allocations: 0 / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/1.479, allocations: 30.12 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/1.48, allocations: 29.16 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/1.48, allocations: 120.2 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/1.48, allocations: 0.7113 MB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of SimCode: time 1.373e-06/1.48, allocations: 3.938 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB