Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.372/2.372, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001579/0.001578, allocations: 191.8 kB / 315.1 MB, free: 4.27 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.085/2.085, 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.001869/0.001868, allocations: 89.58 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4933/0.4952, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.7177, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6909/1.409, allocations: 132.1 MB / 1.012 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.409, allocations: 72.08 kB / 1.013 GB, free: 8.055 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.01179/1.421, allocations: 2.393 MB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.421, allocations: 8 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/1.421, allocations: 0 / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/1.421, allocations: 174.9 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/1.421, allocations: 0 / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/1.421, allocations: 4 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.423e-05/1.421, allocations: 3.984 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/1.421, allocations: 37.69 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/1.421, allocations: 3.938 kB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/1.421, allocations: 7.25 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.421, allocations: 0 / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/1.422, allocations: 141.4 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/1.422, allocations: 25.14 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/1.422, allocations: 15.86 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/1.422, allocations: 0 / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/1.422, allocations: 55.91 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.148e-06/1.422, allocations: 0 / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002652/1.422, allocations: 53.47 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/1.422, allocations: 55.41 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/1.423, allocations: 92.25 kB / 1.016 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/1.423, allocations: 25.7 kB / 1.016 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/1.423, allocations: 88.12 kB / 1.016 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/1.423, allocations: 14.97 kB / 1.016 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/1.423, allocations: 3.938 kB / 1.016 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.423, allocations: 314.7 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/1.423, allocations: 4 kB / 1.016 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/1.423, allocations: 34.05 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/1.423, allocations: 7.312 kB / 1.016 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.423, allocations: 8 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001405/1.423, allocations: 61.41 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.423, allocations: 4 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.423, allocations: 0 / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.423, allocations: 4 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.423, allocations: 11.92 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.423, allocations: 4 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/1.423, allocations: 4.656 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/1.423, allocations: 4.094 kB / 1.016 GB, free: 4.602 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 8.702e-05/1.423, allocations: 105 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/1.423, allocations: 7.844 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/1.424, allocations: 11.88 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.424, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.424, allocations: 0.875 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.424, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/1.424, allocations: 134.2 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.424, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/1.424, allocations: 4 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/1.424, allocations: 4.094 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/1.424, allocations: 13.83 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.424, allocations: 0 / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.424, allocations: 0 / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001377/1.424, allocations: 76.41 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003647/1.424, allocations: 477.3 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/1.424, allocations: 81.02 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/1.424, allocations: 8.078 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/1.425, allocations: 0 / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/1.425, allocations: 3.938 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.425, allocations: 4 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.298e-05/1.425, allocations: 82.66 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001282/1.426, allocations: 62.14 kB / 1.017 GB, free: 3.48 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.0004898/1.426, allocations: 162.4 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001356/1.427, allocations: 30.05 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.427, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/1.427, allocations: 8 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/1.427, allocations: 3.688 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/1.427, allocations: 83 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.427, allocations: 0.6915 MB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/1.427, allocations: 0 / 1.018 GB, free: 2.477 MB / 0.6355 GB