Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.001013/0.001013, allocations: 194.5 kB / 7.805 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4706/0.4706, allocations: 90.85 MB / 99.06 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 342.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 97.22 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1851/0.1861, allocations: 78.45 MB / 494 MB, free: 7.934 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.6039, allocations: 72.31 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.7188, allocations: 101.4 MB / 0.652 GB, free: 8.578 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.7191, allocations: 79.95 kB / 0.6521 GB, free: 8.5 MB / 474.7 MB 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.007924/0.727, allocations: 2.722 MB / 0.6548 GB, free: 5.758 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.7271, allocations: 9.469 kB / 0.6548 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.7271, allocations: 9.5 kB / 0.6548 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.7273, allocations: 168.2 kB / 0.6549 GB, free: 5.539 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.7273, allocations: 4 kB / 0.6549 GB, free: 5.535 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.7274, allocations: 1.438 kB / 0.6549 GB, free: 5.535 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.826e-05/0.7274, allocations: 15.98 kB / 0.655 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.7276, allocations: 57.05 kB / 0.655 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7276, allocations: 0.9375 kB / 0.655 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.7276, allocations: 7.938 kB / 0.655 GB, free: 5.441 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.7276, allocations: 0.7812 kB / 0.655 GB, free: 5.441 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.728, allocations: 246.3 kB / 0.6552 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/0.7281, allocations: 35.33 kB / 0.6553 GB, free: 5.121 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.7282, allocations: 9.359 kB / 0.6553 GB, free: 5.109 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.7282, allocations: 4.969 kB / 0.6553 GB, free: 5.105 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.7283, allocations: 60.28 kB / 0.6554 GB, free: 5.035 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.7283, allocations: 4.781 kB / 0.6554 GB, free: 5.031 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001886/0.7285, allocations: 53.53 kB / 0.6554 GB, free: 4.973 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.7286, allocations: 114.4 kB / 0.6555 GB, free: 4.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.7287, allocations: 95.06 kB / 0.6556 GB, free: 4.742 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.7287, allocations: 26.42 kB / 0.6556 GB, free: 4.711 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.7288, allocations: 84.14 kB / 0.6557 GB, free: 4.625 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.7288, allocations: 12.39 kB / 0.6557 GB, free: 4.613 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.7288, allocations: 0.5938 kB / 0.6557 GB, free: 4.613 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7289, allocations: 320.2 kB / 0.656 GB, free: 4.293 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.729, allocations: 12 kB / 0.656 GB, free: 4.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.729, allocations: 31.16 kB / 0.6561 GB, free: 4.242 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.7291, allocations: 9.031 kB / 0.6561 GB, free: 4.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7291, allocations: 0 / 0.6561 GB, free: 4.234 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001066/0.7292, allocations: 57.62 kB / 0.6561 GB, free: 4.172 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7292, allocations: 8.562 kB / 0.6561 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7292, allocations: 0.5312 kB / 0.6561 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.7292, allocations: 0.625 kB / 0.6561 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.7293, allocations: 4 kB / 0.6562 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7293, allocations: 4.406 kB / 0.6562 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.7294, allocations: 14.52 kB / 0.6562 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.7295, allocations: 4.75 kB / 0.6562 GB, free: 4.141 MB / 474.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: 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 8.683e-05/0.7296, allocations: 101.7 kB / 0.6563 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.7296, allocations: 7.906 kB / 0.6563 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.7296, allocations: 8.172 kB / 0.6563 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7296, allocations: 0.75 kB / 0.6563 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7296, allocations: 0 / 0.6563 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7296, allocations: 8.719 kB / 0.6563 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.7298, allocations: 142.2 kB / 0.6564 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7298, allocations: 8.625 kB / 0.6564 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.7298, allocations: 5 kB / 0.6564 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7298, allocations: 3.906 kB / 0.6564 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.7298, allocations: 0 / 0.6564 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.7298, allocations: 3.375 kB / 0.6564 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7299, allocations: 0 / 0.6564 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001215/0.73, allocations: 88.95 kB / 0.6565 GB, free: 3.715 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002476/0.7302, allocations: 451.3 kB / 0.657 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.7303, allocations: 93 kB / 0.6571 GB, free: 3.145 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.7304, allocations: 1.562 kB / 0.6571 GB, free: 3.145 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.7305, allocations: 13.67 kB / 0.6571 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.7305, allocations: 8.484 kB / 0.6571 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.7305, allocations: 0 / 0.6571 GB, free: 3.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.495e-05/0.7306, allocations: 84.72 kB / 0.6572 GB, free: 3.043 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007784/0.7314, allocations: 19.91 kB / 0.6572 GB, free: 3.023 MB / 474.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: 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.0001426/0.7315, allocations: 103.9 kB / 0.6573 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.7316, allocations: 28.58 kB / 0.6573 GB, free: 2.883 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7316, allocations: 0 / 0.6573 GB, free: 2.883 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.7317, allocations: 16.66 kB / 0.6573 GB, free: 2.867 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.7318, allocations: 3.031 kB / 0.6573 GB, free: 2.867 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.7321, allocations: 80.33 kB / 0.6574 GB, free: 2.766 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.7324, allocations: 0.6881 MB / 0.6581 GB, free: 2.055 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7324, allocations: 0.75 kB / 0.6581 GB, free: 2.055 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)