Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7773/0.7773, allocations: 141.8 MB / 149.1 MB, free: 3.879 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 187.2 kB / 181.9 MB, free: 15.62 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.4 MB / 436 MB, free: 8.711 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 99.73 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 273.2 kB / 0.5884 GB, free: 11.77 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2158/0.2178, allocations: 89.66 MB / 0.676 GB, free: 2.035 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.7186, allocations: 82.77 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.8426, allocations: 108.2 MB / 0.8625 GB, free: 3.996 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.8429, allocations: 80.94 kB / 0.8625 GB, free: 3.922 MB / 0.5263 GB 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.001858/0.8448, allocations: 0.7508 MB / 0.8633 GB, free: 3.137 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.8448, allocations: 12.66 kB / 0.8633 GB, free: 3.125 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.8448, allocations: 0 / 0.8633 GB, free: 3.125 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.845, allocations: 175.9 kB / 0.8634 GB, free: 2.914 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.845, allocations: 0 / 0.8634 GB, free: 2.914 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.845, allocations: 0 / 0.8634 GB, free: 2.914 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.132e-05/0.845, allocations: 9.031 kB / 0.8635 GB, free: 2.906 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.825e-05/0.8451, allocations: 33.69 kB / 0.8635 GB, free: 2.867 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.8451, allocations: 1.375 kB / 0.8635 GB, free: 2.867 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.8451, allocations: 0 / 0.8635 GB, free: 2.867 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.8451, allocations: 0 / 0.8635 GB, free: 2.867 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.8453, allocations: 226.2 kB / 0.8637 GB, free: 2.609 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/0.8454, allocations: 23.83 kB / 0.8637 GB, free: 2.578 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.8454, allocations: 17.89 kB / 0.8637 GB, free: 2.559 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.8454, allocations: 0 / 0.8637 GB, free: 2.559 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.8455, allocations: 36.09 kB / 0.8638 GB, free: 2.516 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.8455, allocations: 0 / 0.8638 GB, free: 2.516 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001202/0.8456, allocations: 34.2 kB / 0.8638 GB, free: 2.477 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.8456, allocations: 58.41 kB / 0.8639 GB, free: 2.41 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.8457, allocations: 89 kB / 0.864 GB, free: 2.316 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.8457, allocations: 30.36 kB / 0.864 GB, free: 2.281 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.8457, allocations: 84.72 kB / 0.8641 GB, free: 2.195 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.8457, allocations: 8.594 kB / 0.8641 GB, free: 2.188 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.8457, allocations: 0 / 0.8641 GB, free: 2.188 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.8458, allocations: 311.3 kB / 0.8644 GB, free: 1.875 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-06/0.8458, allocations: 4.5 kB / 0.8644 GB, free: 1.871 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.8458, allocations: 1.062 kB / 0.8644 GB, free: 1.871 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.337e-05/0.8458, allocations: 8 kB / 0.8644 GB, free: 1.863 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8458, allocations: 0.7812 kB / 0.8644 GB, free: 1.863 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.597e-05/0.8459, allocations: 42.34 kB / 0.8644 GB, free: 1.816 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.8459, allocations: 4 kB / 0.8644 GB, free: 1.812 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.8459, allocations: 4.656 kB / 0.8644 GB, free: 1.809 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8459, allocations: 3.906 kB / 0.8644 GB, free: 1.805 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.846, allocations: 4.625 kB / 0.8644 GB, free: 1.801 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.846, allocations: 0 / 0.8644 GB, free: 1.801 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.846, allocations: 0.5938 kB / 0.8644 GB, free: 1.801 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.846, allocations: 0.5938 kB / 0.8644 GB, free: 1.801 MB / 0.5263 GB 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 4.327e-05/0.8461, allocations: 108.5 kB / 0.8645 GB, free: 1.691 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.8461, allocations: 3.906 kB / 0.8645 GB, free: 1.688 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.8461, allocations: 3.938 kB / 0.8645 GB, free: 1.688 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.8461, allocations: 0.75 kB / 0.8645 GB, free: 1.688 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8461, allocations: 0 / 0.8645 GB, free: 1.688 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8462, allocations: 0.7188 kB / 0.8645 GB, free: 1.688 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.714e-05/0.8462, allocations: 137.6 kB / 0.8647 GB, free: 1.52 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.8463, allocations: 0.9062 kB / 0.8647 GB, free: 1.52 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.8463, allocations: 4 kB / 0.8647 GB, free: 1.516 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8463, allocations: 3.984 kB / 0.8647 GB, free: 1.512 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.8463, allocations: 0.5312 kB / 0.8647 GB, free: 1.512 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.8463, allocations: 5.688 kB / 0.8647 GB, free: 1.508 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8463, allocations: 4.125 kB / 0.8647 GB, free: 1.504 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.974e-05/0.8464, allocations: 132.2 kB / 0.8648 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.301e-05/0.8465, allocations: 0.5018 MB / 0.8653 GB, free: 0.8398 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.8465, allocations: 86.12 kB / 0.8654 GB, free: 0.7383 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.8465, allocations: 0 / 0.8654 GB, free: 0.7383 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.8466, allocations: 0 / 0.8654 GB, free: 0.7383 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.8466, allocations: 8.438 kB / 0.8654 GB, free: 0.7305 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.8466, allocations: 1.188 kB / 0.8654 GB, free: 0.7305 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.951e-05/0.8466, allocations: 87.27 kB / 0.8655 GB, free: 0.6445 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0007955/0.8474, allocations: 0 / 0.8655 GB, free: 0.6445 MB / 0.5263 GB 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 8.247e-05/0.8475, allocations: 105.2 kB / 0.8656 GB, free: 0.5312 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.536e-05/0.8476, allocations: 8 kB / 0.8656 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8476, allocations: 0 / 0.8656 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 7.764e-06/0.8476, allocations: 8.656 kB / 0.8656 GB, free: 0.5156 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.8477, allocations: 1.312 kB / 0.8656 GB, free: 0.5156 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001547/0.8479, allocations: 55.86 kB / 0.8657 GB, free: 448 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.8481, allocations: 0.6891 MB / 0.8663 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of SimCode: time 2.91e-07/0.8481, allocations: 3.938 kB / 0.8663 GB, free: 15.71 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)