Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.362/2.362, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.00257/0.00257, allocations: 177.3 kB / 315.1 MB, free: 4.316 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.045/2.045, allocations: 205.1 MB / 0.5658 GB, free: 328 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.00186/0.00186, allocations: 98.5 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.556/0.5579, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.7718, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7647/1.537, allocations: 131.5 MB / 1.012 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/1.537, allocations: 69.77 kB / 1.012 GB, free: 8.672 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.005423/1.542, allocations: 0.9601 MB / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.543, allocations: 8 kB / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/1.543, allocations: 7.906 kB / 1.013 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/1.543, allocations: 178.4 kB / 1.013 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/1.543, allocations: 3.906 kB / 1.013 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/1.543, allocations: 4 kB / 1.013 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/1.543, allocations: 18.38 kB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.543, allocations: 40.75 kB / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.543, allocations: 4 kB / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/1.543, allocations: 0 / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.543, allocations: 0 / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/1.544, allocations: 263 kB / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/1.544, allocations: 36.45 kB / 1.013 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/1.544, allocations: 20.17 kB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/1.544, allocations: 4 kB / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/1.544, allocations: 58.22 kB / 1.013 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/1.544, allocations: 0 / 1.013 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002431/1.544, allocations: 62.12 kB / 1.014 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/1.544, allocations: 56.92 kB / 1.014 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.544, allocations: 109.2 kB / 1.014 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/1.544, allocations: 25.7 kB / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/1.545, allocations: 88.05 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/1.545, allocations: 15.72 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/1.545, allocations: 0 / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.545, allocations: 325.8 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/1.545, allocations: 7.375 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/1.545, allocations: 37.33 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/1.545, allocations: 15.42 kB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.545, allocations: 0 / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001819/1.545, allocations: 77.09 kB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.545, allocations: 6.812 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.545, allocations: 0 / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.545, allocations: 8 kB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/1.545, allocations: 4 kB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/1.545, allocations: 3.938 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/1.546, allocations: 20.05 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/1.546, allocations: 0 / 1.014 GB, free: 6.215 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.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.0001002/1.546, allocations: 105 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/1.546, allocations: 7.906 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/1.546, allocations: 16.09 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.546, allocations: 0 / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.546, allocations: 7.938 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.546, allocations: 4 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/1.546, allocations: 149.1 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.546, allocations: 0 / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/1.546, allocations: 0 / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/1.546, allocations: 0 / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.546, allocations: 11.55 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.546, allocations: 0 / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.546, allocations: 0 / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002024/1.546, allocations: 95.7 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003018/1.547, allocations: 463.8 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/1.547, allocations: 84.89 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/1.547, allocations: 3.984 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/1.547, allocations: 19.98 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/1.547, allocations: 7.984 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/1.547, allocations: 4 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.121e-05/1.547, allocations: 90 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001238/1.548, allocations: 12 kB / 1.015 GB, free: 5.086 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.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001966/1.549, allocations: 103.2 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000198/1.549, allocations: 39.3 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.549, allocations: 2.562 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/1.549, allocations: 27.5 kB / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/1.549, allocations: 16.11 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/1.55, allocations: 95.06 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/1.55, allocations: 0.7037 MB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/1.55, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB