Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",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 9.1.1-maint.9.1.x/package.mo): time 1.936/1.936, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009507/0.0009511, allocations: 181.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 110.4 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4922/0.4931, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.7106, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6421/1.353, allocations: 148.8 MB / 1.351 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.353, allocations: 73.77 kB / 1.351 GB, free: 16.14 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.006828/1.36, allocations: 2.383 MB / 1.353 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.36, allocations: 10.09 kB / 1.353 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/1.36, allocations: 6.625 kB / 1.353 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.832e-05/1.36, allocations: 161.3 kB / 1.353 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/1.36, allocations: 1.062 kB / 1.353 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/1.36, allocations: 3.484 kB / 1.353 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.188e-05/1.36, allocations: 16.08 kB / 1.353 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/1.36, allocations: 36.58 kB / 1.353 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.36, allocations: 0 / 1.353 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.36, allocations: 1.125 kB / 1.353 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.36, allocations: 4 kB / 1.353 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/1.36, allocations: 138.2 kB / 1.353 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/1.361, allocations: 29.53 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/1.361, allocations: 10.08 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/1.361, allocations: 1.594 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.83e-05/1.361, allocations: 66.81 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.361, allocations: 4.656 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001594/1.361, allocations: 47.09 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/1.361, allocations: 53.52 kB / 1.354 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.711e-05/1.361, allocations: 95.42 kB / 1.354 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/1.361, allocations: 26.7 kB / 1.354 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/1.361, allocations: 85.84 kB / 1.354 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/1.361, allocations: 18.5 kB / 1.354 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/1.361, allocations: 0 / 1.354 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/1.361, allocations: 321.4 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/1.361, allocations: 4.375 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/1.361, allocations: 36.33 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/1.361, allocations: 15.22 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.361, allocations: 4.562 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/1.361, allocations: 67.81 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.361, allocations: 5.219 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.361, allocations: 2.312 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.361, allocations: 1.797 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/1.361, allocations: 13.8 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.361, allocations: 5.062 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/1.362, allocations: 6.578 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/1.362, allocations: 6.5 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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 6.664e-05/1.362, allocations: 104 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/1.362, allocations: 5.938 kB / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/1.362, allocations: 9.422 kB / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/1.362, allocations: 0.75 kB / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.362, allocations: 0.7812 kB / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.362, allocations: 0 / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.446e-05/1.362, allocations: 131.5 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.362, allocations: 0.875 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/1.362, allocations: 8.844 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/1.362, allocations: 3.906 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.362, allocations: 5.203 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.362, allocations: 0.7969 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.362, allocations: 1 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001112/1.362, allocations: 85.67 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002475/1.362, allocations: 492.9 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/1.362, allocations: 78.14 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/1.362, allocations: 2 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/1.362, allocations: 0.75 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/1.362, allocations: 2.922 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.362, allocations: 2.906 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.331e-05/1.362, allocations: 83.84 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008614/1.363, allocations: 50.27 kB / 1.355 GB, free: 13.45 MB / 0.8073 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 (5): * Single equations (assignments): 3 * 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.0003551/1.364, allocations: 177.8 kB / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/1.364, allocations: 27.86 kB / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.364, allocations: 0 / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/1.364, allocations: 16.66 kB / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.524e-05/1.364, allocations: 8.797 kB / 1.356 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/1.364, allocations: 75.83 kB / 1.356 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.364, allocations: 0.6922 MB / 1.356 GB, free: 28.55 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.364, allocations: 0 / 1.356 GB, free: 28.55 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)