Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.223/1.223, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009749/0.0009747, allocations: 195.4 kB / 316 MB, free: 3.52 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.136/1.136, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0008522, allocations: 94.33 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3582/0.3591, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.5391, allocations: 106.3 MB / 0.8846 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5199/1.059, allocations: 132.1 MB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.059, allocations: 73.45 kB / 1.014 GB, free: 6.34 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.006157/1.066, allocations: 2.199 MB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.066, allocations: 12 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/1.066, allocations: 0 / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.066, allocations: 171 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.066, allocations: 3.938 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/1.066, allocations: 0.75 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.763e-05/1.066, allocations: 7.5 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.731e-05/1.066, allocations: 37.69 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/1.066, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.066, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.066, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/1.066, allocations: 137.8 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.093e-05/1.066, allocations: 30.55 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/1.066, allocations: 16.23 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/1.066, allocations: 4 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/1.066, allocations: 53.5 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.066, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001386/1.066, allocations: 45.42 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.066, allocations: 59.34 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/1.067, allocations: 100.4 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/1.067, allocations: 29.69 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/1.067, allocations: 84.14 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/1.067, allocations: 7.406 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.067, allocations: 4 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/1.067, allocations: 310.8 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/1.067, allocations: 7.562 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/1.067, allocations: 27.42 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/1.067, allocations: 15.62 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.067, allocations: 0 / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.752e-05/1.067, allocations: 60.91 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/1.067, allocations: 4 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.067, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/1.067, allocations: 4 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/1.067, allocations: 11.92 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/1.067, allocations: 4.25 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/1.067, allocations: 4 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/1.067, allocations: 4 kB / 1.017 GB, free: 3.055 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 7.02e-05/1.067, allocations: 116.1 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/1.067, allocations: 4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/1.067, allocations: 7.625 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/1.067, allocations: 0 / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.067, allocations: 3.938 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.067, allocations: 3.906 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.637e-05/1.067, allocations: 137.6 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.067, allocations: 0 / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/1.067, allocations: 7.984 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/1.067, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/1.067, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/1.067, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.067, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.391e-05/1.067, allocations: 76.53 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002565/1.068, allocations: 482.9 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/1.068, allocations: 77.11 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.068, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.803e-05/1.068, allocations: 7.984 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/1.068, allocations: 7.938 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.068, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.762e-05/1.068, allocations: 79.61 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007812/1.069, allocations: 54.67 kB / 1.018 GB, free: 1.945 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.0003111/1.069, allocations: 169.9 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.474e-05/1.069, allocations: 26.11 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.069, allocations: 3.938 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/1.069, allocations: 15.81 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.485e-05/1.069, allocations: 6.5 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/1.069, allocations: 70.72 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/1.07, allocations: 0.6915 MB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.07, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)