Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.253/1.253, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009668/0.0009668, allocations: 196.5 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008522/0.0008525, allocations: 79.41 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3547/0.3556, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.5311, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/1.044, allocations: 132.3 MB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.044, allocations: 69.95 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.006578/1.051, allocations: 2.381 MB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.051, allocations: 8 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/1.051, allocations: 4 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.051, allocations: 167 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.051, allocations: 3.938 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/1.051, allocations: 4 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.482e-05/1.051, allocations: 9.812 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/1.051, allocations: 33.69 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.051, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.051, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/1.051, allocations: 4 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/1.051, allocations: 137.7 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/1.052, allocations: 32.55 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/1.052, allocations: 11.98 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/1.052, allocations: 4 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.109e-05/1.052, allocations: 58.36 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.052, allocations: 0 / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001324/1.052, allocations: 53.22 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.052, allocations: 51.41 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/1.052, allocations: 99.8 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.052, allocations: 29.7 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/1.052, allocations: 83.14 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/1.052, allocations: 11.83 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/1.052, allocations: 4 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.052, allocations: 318.3 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/1.052, allocations: 4 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/1.052, allocations: 30.86 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/1.052, allocations: 15.69 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.052, allocations: 4 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.457e-05/1.052, allocations: 60.97 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.052, allocations: 4 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.052, allocations: 3.984 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.052, allocations: 4 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/1.052, allocations: 4 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.052, allocations: 4.5 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/1.052, allocations: 4.75 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.052, allocations: 4 kB / 1.017 GB, free: 2.719 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.655e-05/1.053, allocations: 105.8 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/1.053, allocations: 8.719 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/1.053, allocations: 19.48 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.053, allocations: 0 / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.053, allocations: 0 / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.053, allocations: 0 / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.418e-05/1.053, allocations: 130.2 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.053, allocations: 7.938 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/1.053, allocations: 3.438 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/1.053, allocations: 7.906 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/1.053, allocations: 4 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.053, allocations: 0 / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.053, allocations: 4 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.06e-05/1.053, allocations: 72.27 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000254/1.053, allocations: 483.5 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/1.053, allocations: 85.09 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/1.053, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/1.053, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/1.053, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/1.053, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.796e-05/1.053, allocations: 87.2 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008055/1.054, allocations: 51.72 kB / 1.018 GB, free: 1.598 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.0003888/1.055, allocations: 177.3 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/1.055, allocations: 26.94 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.055, allocations: 0 / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/1.055, allocations: 11.19 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.545e-05/1.055, allocations: 1.953 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/1.055, allocations: 82.89 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/1.055, allocations: 0.6876 MB / 1.019 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/1.055, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)