Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 185.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007809/0.0007809, allocations: 95.7 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2139/0.2147, allocations: 121.4 MB / 0.8511 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5471/0.7618, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.919, allocations: 137.6 MB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.9192, allocations: 74.11 kB / 1.098 GB, free: 2.336 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.006385/0.9256, allocations: 2.384 MB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.9257, allocations: 12 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.9257, allocations: 3.906 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.9258, allocations: 167.1 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.9258, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.9258, allocations: 7.844 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.974e-05/0.9259, allocations: 7.938 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.087e-05/0.926, allocations: 39.38 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.926, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.926, allocations: 4 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.926, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.9261, allocations: 134.2 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.9262, allocations: 25.2 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.9262, allocations: 18.17 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.9262, allocations: 3.906 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/0.9263, allocations: 62.92 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.9263, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001214/0.9264, allocations: 41.69 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.9265, allocations: 55.41 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/0.9265, allocations: 96.98 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.9266, allocations: 26.39 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.9266, allocations: 89.58 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.9266, allocations: 12.5 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.9266, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9267, allocations: 318.8 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.9268, allocations: 4.812 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.9268, allocations: 33.25 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.9268, allocations: 8.438 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.9268, allocations: 4.562 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.87e-05/0.9269, allocations: 68.33 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.927, allocations: 4 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.927, allocations: 4 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.927, allocations: 0.8125 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.9271, allocations: 9.75 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.9271, allocations: 0.5938 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.9271, allocations: 0.9375 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.9271, allocations: 8 kB / 1.102 GB, free: 14.55 MB / 0.7136 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 5.87e-05/0.9272, allocations: 109.4 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.9272, allocations: 0.5 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.9272, allocations: 12.77 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.9272, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9273, allocations: 4.688 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9273, allocations: 3.906 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.312e-05/0.9274, allocations: 141.3 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.9274, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.9274, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.9274, allocations: 1.875 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.9274, allocations: 5.938 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9274, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9274, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.591e-05/0.9275, allocations: 78.45 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000219/0.9277, allocations: 483.5 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.9278, allocations: 81.02 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.9278, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.753e-05/0.9278, allocations: 4.719 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.9279, allocations: 4 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.9279, allocations: 4.094 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.113e-05/0.9279, allocations: 83.31 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007795/0.9287, allocations: 51.88 kB / 1.103 GB, free: 13.41 MB / 0.7136 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.000323/0.929, allocations: 182 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.9291, allocations: 24.06 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.9291, allocations: 4.062 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.9291, allocations: 12 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.763e-05/0.9292, allocations: 9.016 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.9294, allocations: 72.53 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.9297, allocations: 0.6954 MB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9297, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)