Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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/Complex 4.0.0+maint.om/package.mo): time 0.003435/0.003435, allocations: 183 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6921/0.6921, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 93.75 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4383/0.4394, allocations: 88.44 MB / 0.5529 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.6235, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5601/1.184, allocations: 111.2 MB / 0.7419 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/1.184, allocations: 76.86 kB / 0.742 GB, free: 10.8 MB / 0.4948 GB 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.007971/1.192, allocations: 2.717 MB / 0.7446 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.192, allocations: 11.66 kB / 0.7446 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/1.192, allocations: 3.906 kB / 0.7446 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/1.192, allocations: 172.8 kB / 0.7448 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.192, allocations: 0 / 0.7448 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/1.192, allocations: 3.844 kB / 0.7448 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.598e-05/1.192, allocations: 12.61 kB / 0.7448 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/1.193, allocations: 66.03 kB / 0.7449 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.193, allocations: 0 / 0.7449 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/1.193, allocations: 5.844 kB / 0.7449 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.193, allocations: 3.984 kB / 0.7449 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/1.193, allocations: 243.3 kB / 0.7451 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/1.193, allocations: 38.53 kB / 0.7452 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/1.193, allocations: 16.75 kB / 0.7452 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/1.193, allocations: 3.844 kB / 0.7452 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.135e-05/1.193, allocations: 54.3 kB / 0.7452 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.193, allocations: 0 / 0.7452 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001662/1.193, allocations: 54.41 kB / 0.7453 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/1.193, allocations: 106.9 kB / 0.7454 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/1.194, allocations: 101.9 kB / 0.7455 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.194, allocations: 25.7 kB / 0.7455 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/1.194, allocations: 80.8 kB / 0.7456 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/1.194, allocations: 15.62 kB / 0.7456 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/1.194, allocations: 0 / 0.7456 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.194, allocations: 312.1 kB / 0.7459 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/1.194, allocations: 12.09 kB / 0.7459 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/1.194, allocations: 38.36 kB / 0.746 GB, free: 25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/1.194, allocations: 16.92 kB / 0.746 GB, free: 25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.194, allocations: 0 / 0.746 GB, free: 25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.907e-05/1.194, allocations: 55.98 kB / 0.746 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.194, allocations: 7.688 kB / 0.746 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.194, allocations: 0 / 0.746 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/1.194, allocations: 0.6562 kB / 0.746 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/1.194, allocations: 5 kB / 0.746 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.194, allocations: 4.281 kB / 0.746 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/1.194, allocations: 18.34 kB / 0.7461 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/1.194, allocations: 0.6094 kB / 0.7461 GB, free: 24.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.775e-05/1.194, allocations: 109.5 kB / 0.7462 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/1.194, allocations: 4 kB / 0.7462 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/1.194, allocations: 11.7 kB / 0.7462 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.194, allocations: 4.453 kB / 0.7462 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.194, allocations: 0 / 0.7462 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.194, allocations: 0.5625 kB / 0.7462 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/1.195, allocations: 142.2 kB / 0.7463 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/1.195, allocations: 0 / 0.7463 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/1.195, allocations: 4.672 kB / 0.7463 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.195, allocations: 0 / 0.7463 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.195, allocations: 4.656 kB / 0.7463 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.195, allocations: 3.906 kB / 0.7463 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.195, allocations: 0.75 kB / 0.7463 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001043/1.195, allocations: 75.89 kB / 0.7464 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002022/1.195, allocations: 470.3 kB / 0.7469 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/1.195, allocations: 88.55 kB / 0.7469 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/1.195, allocations: 0 / 0.7469 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.195, allocations: 11.19 kB / 0.7469 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/1.195, allocations: 9.969 kB / 0.747 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.195, allocations: 3.875 kB / 0.747 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.176e-05/1.195, allocations: 80.48 kB / 0.747 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007364/1.196, allocations: 11.5 kB / 0.747 GB, free: 23.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001509/1.196, allocations: 107.3 kB / 0.7472 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.196, allocations: 32.16 kB / 0.7472 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.196, allocations: 3.938 kB / 0.7472 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/1.196, allocations: 11.44 kB / 0.7472 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/1.196, allocations: 12.53 kB / 0.7472 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/1.197, allocations: 68.12 kB / 0.7473 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/1.197, allocations: 0.6931 MB / 0.748 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/1.197, allocations: 0 / 0.748 GB, free: 23.11 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)