Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.3/2.3, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.002308/0.002308, allocations: 177.3 kB / 315.1 MB, free: 4.281 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.07/2.07, allocations: 205.1 MB / 0.5658 GB, free: 312 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.00126/0.00126, allocations: 98.81 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4831/0.4844, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.6953, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7821/1.478, allocations: 132 MB / 1.012 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004772/1.478, allocations: 75.7 kB / 1.012 GB, free: 8.141 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01127/1.489, allocations: 2.37 MB / 1.015 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.489, allocations: 12 kB / 1.015 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/1.489, allocations: 7.922 kB / 1.015 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.49, allocations: 174.9 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/1.49, allocations: 4 kB / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/1.49, allocations: 0 / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.235e-05/1.49, allocations: 7.188 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.789e-05/1.49, allocations: 37.69 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.49, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/1.49, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/1.49, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/1.49, allocations: 145 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.026e-05/1.49, allocations: 29.08 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/1.49, allocations: 16.48 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/1.49, allocations: 0 / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/1.49, allocations: 50.75 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/1.49, allocations: 0 / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001914/1.491, allocations: 55.78 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/1.491, allocations: 55.41 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/1.491, allocations: 100.7 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/1.491, allocations: 25.7 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/1.491, allocations: 80.14 kB / 1.016 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/1.491, allocations: 15.06 kB / 1.016 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/1.491, allocations: 7.938 kB / 1.016 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.491, allocations: 310.8 kB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/1.491, allocations: 7.875 kB / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/1.491, allocations: 43.09 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/1.491, allocations: 7.75 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.491, allocations: 0 / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001526/1.491, allocations: 69.61 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.492, allocations: 11.91 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.492, allocations: 0 / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.492, allocations: 0 / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/1.492, allocations: 11.94 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.492, allocations: 8.141 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/1.492, allocations: 0 / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/1.492, allocations: 4 kB / 1.016 GB, free: 4.676 MB / 0.6355 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 9.194e-05/1.492, allocations: 101.9 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/1.492, allocations: 19.89 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/1.492, allocations: 7.5 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.492, allocations: 3.938 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.492, allocations: 0 / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/1.492, allocations: 4 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.492, allocations: 138.1 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.492, allocations: 5.5 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/1.492, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.492, allocations: 4 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/1.492, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.492, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.492, allocations: 7.984 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001422/1.492, allocations: 77.84 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003846/1.493, allocations: 489.8 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/1.493, allocations: 89 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/1.493, allocations: 4 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/1.493, allocations: 48 / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/1.493, allocations: 7.984 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/1.493, allocations: 0 / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.376e-05/1.493, allocations: 83.03 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001261/1.494, allocations: 55.23 kB / 1.017 GB, free: 3.539 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 (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.0005139/1.495, allocations: 170.2 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001456/1.495, allocations: 27.62 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.495, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/1.495, allocations: 11.38 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/1.495, allocations: 6.938 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/1.496, allocations: 87.16 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/1.496, allocations: 0.6921 MB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/1.496, allocations: 4 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB