Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.513/1.513, allocations: 289.8 MB / 297 MB, free: 10.65 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 177.3 kB / 366.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 0.6256 GB, free: 9.664 MB / 478.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008311/0.0008311, allocations: 86.47 kB / 0.7395 GB, free: 43.44 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.2392/0.24, allocations: 122.4 MB / 0.8591 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.8399, allocations: 116.3 MB / 0.9726 GB, free: 77.07 MB / 0.67 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/1.004, allocations: 138.5 MB / 1.108 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.004, allocations: 73.17 kB / 1.108 GB, free: 15.64 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.006954/1.011, allocations: 2.38 MB / 1.11 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.011, allocations: 8 kB / 1.11 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/1.011, allocations: 7.906 kB / 1.11 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.907e-05/1.012, allocations: 163.1 kB / 1.11 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/1.012, allocations: 2.625 kB / 1.11 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/1.012, allocations: 11.78 kB / 1.11 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.014e-05/1.012, allocations: 4 kB / 1.111 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.037e-05/1.012, allocations: 41.62 kB / 1.111 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/1.012, allocations: 0 / 1.111 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/1.012, allocations: 0 / 1.111 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/1.012, allocations: 0 / 1.111 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/1.012, allocations: 135 kB / 1.111 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/1.012, allocations: 30.14 kB / 1.111 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/1.012, allocations: 13.52 kB / 1.111 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/1.012, allocations: 4.625 kB / 1.111 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/1.012, allocations: 52.72 kB / 1.111 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/1.012, allocations: 1 kB / 1.111 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001266/1.012, allocations: 49.62 kB / 1.111 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/1.012, allocations: 51.94 kB / 1.111 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/1.012, allocations: 99.61 kB / 1.111 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/1.012, allocations: 30.52 kB / 1.111 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/1.012, allocations: 88.05 kB / 1.111 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/1.012, allocations: 8.344 kB / 1.111 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.012, allocations: 1.312 kB / 1.111 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/1.012, allocations: 318.8 kB / 1.111 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/1.012, allocations: 4 kB / 1.111 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/1.013, allocations: 36.75 kB / 1.111 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/1.013, allocations: 13.16 kB / 1.111 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.013, allocations: 4.469 kB / 1.111 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.605e-05/1.013, allocations: 62.72 kB / 1.111 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/1.013, allocations: 4 kB / 1.112 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.013, allocations: 4.672 kB / 1.112 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.013, allocations: 4 kB / 1.112 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/1.013, allocations: 9.344 kB / 1.112 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.013, allocations: 4 kB / 1.112 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/1.013, allocations: 0.5312 kB / 1.112 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/1.013, allocations: 4.719 kB / 1.112 GB, free: 11.86 MB / 0.7169 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 7.2e-05/1.013, allocations: 111.4 kB / 1.112 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/1.013, allocations: 4.844 kB / 1.112 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.23e-05/1.013, allocations: 7.984 kB / 1.112 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/1.013, allocations: 0.5312 kB / 1.112 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/1.013, allocations: 3.719 kB / 1.112 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.013, allocations: 3.906 kB / 1.112 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.812e-05/1.013, allocations: 134.2 kB / 1.112 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.013, allocations: 1.312 kB / 1.112 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/1.013, allocations: 4 kB / 1.112 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.013, allocations: 4.469 kB / 1.112 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/1.013, allocations: 0.875 kB / 1.112 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/1.013, allocations: 0 / 1.112 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.013, allocations: 4.938 kB / 1.112 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.764e-05/1.013, allocations: 73.58 kB / 1.112 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002356/1.014, allocations: 475.6 kB / 1.112 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/1.014, allocations: 89 kB / 1.112 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/1.014, allocations: 2.844 kB / 1.112 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/1.014, allocations: 4.094 kB / 1.112 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/1.014, allocations: 3.938 kB / 1.112 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/1.014, allocations: 8 kB / 1.112 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.604e-05/1.014, allocations: 83.27 kB / 1.113 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000819/1.015, allocations: 51.88 kB / 1.113 GB, free: 10.71 MB / 0.7169 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.0003847/1.015, allocations: 176.4 kB / 1.113 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.374e-05/1.015, allocations: 27.94 kB / 1.113 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.015, allocations: 0 / 1.113 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/1.015, allocations: 12 kB / 1.113 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.105e-05/1.015, allocations: 4.562 kB / 1.113 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/1.015, allocations: 71.77 kB / 1.113 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.016, allocations: 0.6876 MB / 1.114 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/1.016, allocations: 192 / 1.114 GB, free: 9.699 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)