Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.419/2.419, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001847/0.001846, allocations: 191.7 kB / 315.1 MB, free: 4.254 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.061/2.061, allocations: 205.1 MB / 0.5658 GB, free: 308 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.002285/0.002285, allocations: 97.72 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4876/0.4899, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.7304, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6925/1.423, allocations: 132 MB / 1.012 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.423, allocations: 67.53 kB / 1.012 GB, free: 8.168 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. 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.0153/1.439, allocations: 2.299 MB / 1.015 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/1.439, allocations: 8 kB / 1.015 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/1.439, allocations: 4.688 kB / 1.015 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/1.439, allocations: 170.9 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/1.439, allocations: 0 / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/1.439, allocations: 3.938 kB / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.612e-05/1.439, allocations: 4 kB / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.439, allocations: 41 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.439, allocations: 3.984 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/1.439, allocations: 3.984 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.439, allocations: 7.938 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/1.44, allocations: 137 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/1.44, allocations: 28.7 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/1.44, allocations: 8.859 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/1.44, allocations: 0 / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/1.44, allocations: 59.12 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/1.44, allocations: 0 / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002414/1.44, allocations: 45.06 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.44, allocations: 55.41 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/1.441, allocations: 100.7 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/1.441, allocations: 25.7 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/1.441, allocations: 84.14 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/1.441, allocations: 14.59 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/1.441, allocations: 0 / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.441, allocations: 314.8 kB / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/1.441, allocations: 6.875 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/1.441, allocations: 31.45 kB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/1.441, allocations: 12 kB / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.441, allocations: 0 / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001921/1.441, allocations: 65.14 kB / 1.016 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.441, allocations: 7.125 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.441, allocations: 4 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.441, allocations: 0 / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/1.442, allocations: 11.19 kB / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/1.442, allocations: 0 / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/1.442, allocations: 4.094 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/1.442, allocations: 4 kB / 1.016 GB, free: 4.793 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: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000126/1.442, allocations: 108.8 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/1.442, allocations: 7.938 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/1.442, allocations: 7.672 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.442, allocations: 0 / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.442, allocations: 0 / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.442, allocations: 0 / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/1.442, allocations: 137.8 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.442, allocations: 4 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/1.442, allocations: 4 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.321e-06/1.442, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/1.442, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.442, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.442, allocations: 160 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002821/1.443, allocations: 83.97 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000825/1.443, allocations: 483.5 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/1.444, allocations: 87.06 kB / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.444, allocations: 0 / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/1.444, allocations: 0 / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/1.444, allocations: 7.906 kB / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.444, allocations: 0 / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.337e-05/1.444, allocations: 86.89 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001558/1.446, allocations: 51.12 kB / 1.017 GB, free: 3.676 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,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0004993/1.446, allocations: 164.2 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000118/1.446, allocations: 27.73 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.446, allocations: 0 / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/1.446, allocations: 11.31 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/1.446, allocations: 4.188 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/1.447, allocations: 83 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/1.447, allocations: 0.6883 MB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.447, allocations: 0 / 1.018 GB, free: 2.672 MB / 0.6355 GB