Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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/BuildSysPro 3.5.0/package.mo): time 0.748/0.748, allocations: 127.4 MB / 134.6 MB, free: 4.125 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001749/0.001749, allocations: 181.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.1 MB / 399.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 74.39 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3492/0.3505, allocations: 82.91 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.549, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.519/1.068, allocations: 102.2 MB / 0.7208 GB, free: 10.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.068, allocations: 83.94 kB / 0.7209 GB, free: 10.08 MB / 490.7 MB 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.002273/1.071, allocations: 0.709 MB / 0.7216 GB, free: 9.336 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.071, allocations: 16 kB / 0.7216 GB, free: 9.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/1.071, allocations: 0 / 0.7216 GB, free: 9.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/1.071, allocations: 166.9 kB / 0.7217 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.071, allocations: 0.75 kB / 0.7217 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/1.071, allocations: 7.938 kB / 0.7217 GB, free: 9.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.066e-05/1.071, allocations: 11.94 kB / 0.7217 GB, free: 9.102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/1.071, allocations: 33.69 kB / 0.7218 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.071, allocations: 0 / 0.7218 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/1.071, allocations: 0 / 0.7218 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.071, allocations: 0 / 0.7218 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/1.072, allocations: 225.4 kB / 0.722 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/1.072, allocations: 26.52 kB / 0.722 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/1.072, allocations: 12.95 kB / 0.722 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/1.072, allocations: 0 / 0.722 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/1.072, allocations: 38.5 kB / 0.7221 GB, free: 8.703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/1.072, allocations: 4 kB / 0.7221 GB, free: 8.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000166/1.072, allocations: 33.7 kB / 0.7221 GB, free: 8.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/1.072, allocations: 55.31 kB / 0.7222 GB, free: 8.594 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.072, allocations: 96.98 kB / 0.7223 GB, free: 8.492 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.072, allocations: 26.36 kB / 0.7223 GB, free: 8.461 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/1.072, allocations: 88.12 kB / 0.7224 GB, free: 8.371 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/1.072, allocations: 3.906 kB / 0.7224 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.072, allocations: 0 / 0.7224 GB, free: 8.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/1.073, allocations: 314.9 kB / 0.7227 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/1.073, allocations: 4 kB / 0.7227 GB, free: 8.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/1.073, allocations: 6.078 kB / 0.7227 GB, free: 8.043 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.568e-05/1.073, allocations: 0 / 0.7227 GB, free: 8.043 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.073, allocations: 4 kB / 0.7227 GB, free: 8.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.118e-05/1.073, allocations: 37.64 kB / 0.7227 GB, free: 7.996 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.073, allocations: 11.98 kB / 0.7227 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.073, allocations: 0 / 0.7227 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.073, allocations: 0 / 0.7227 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/1.073, allocations: 8.094 kB / 0.7227 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.073, allocations: 3.906 kB / 0.7227 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/1.073, allocations: 0 / 0.7227 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/1.073, allocations: 0 / 0.7227 GB, free: 7.973 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.372e-05/1.073, allocations: 101 kB / 0.7228 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/1.073, allocations: 4 kB / 0.7228 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/1.073, allocations: 3.312 kB / 0.7228 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.073, allocations: 3.906 kB / 0.7228 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.073, allocations: 0 / 0.7228 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.073, allocations: 4 kB / 0.7228 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/1.073, allocations: 134.2 kB / 0.723 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.073, allocations: 0 / 0.723 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/1.073, allocations: 7.938 kB / 0.723 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.073, allocations: 0 / 0.723 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.073, allocations: 3.984 kB / 0.723 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.073, allocations: 0 / 0.723 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.073, allocations: 0 / 0.723 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001792/1.073, allocations: 139.4 kB / 0.7231 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002396/1.074, allocations: 0.5038 MB / 0.7236 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/1.074, allocations: 77.11 kB / 0.7237 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.074, allocations: 0 / 0.7237 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/1.074, allocations: 4.812 kB / 0.7237 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/1.074, allocations: 0 / 0.7237 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/1.074, allocations: 11.97 kB / 0.7237 GB, free: 6.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.78e-05/1.074, allocations: 81.83 kB / 0.7238 GB, free: 6.812 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008402/1.075, allocations: 4 kB / 0.7238 GB, free: 6.809 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001398/1.075, allocations: 99.25 kB / 0.7239 GB, free: 6.703 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.813e-05/1.075, allocations: 11.94 kB / 0.7239 GB, free: 6.691 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.075, allocations: 0 / 0.7239 GB, free: 6.691 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-06/1.075, allocations: 4 kB / 0.7239 GB, free: 6.688 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/1.075, allocations: 3.609 kB / 0.7239 GB, free: 6.688 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/1.075, allocations: 59.92 kB / 0.724 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/1.076, allocations: 0.688 MB / 0.7246 GB, free: 5.891 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/1.076, allocations: 0 / 0.7246 GB, free: 5.891 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)