Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",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 8.0.1-maint.8.0.x/package.mo): time 1.407/1.407, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 173.3 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008214/0.0008215, allocations: 99.7 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2276/0.2284, allocations: 121.5 MB / 0.8512 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.7335, allocations: 115.3 MB / 0.9638 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.897, allocations: 137.8 MB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.8973, allocations: 73.33 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.007285/0.9046, allocations: 2.344 MB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9046, allocations: 8.5 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.9047, allocations: 5.844 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.9048, allocations: 171 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.9048, allocations: 1.219 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.9049, allocations: 8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.245e-05/0.905, allocations: 19.91 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.905, allocations: 49.92 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9051, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9051, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.9051, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.9053, allocations: 150.1 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.9054, allocations: 38.3 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.9054, allocations: 24.86 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.9059, allocations: 0.553 MB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.9059, allocations: 36.48 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.9059, allocations: 1.375 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001681/0.9076, allocations: 0.8409 MB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.9076, allocations: 56.62 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.636e-05/0.9077, allocations: 90.52 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.9078, allocations: 25.7 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.9078, allocations: 80.14 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.9078, allocations: 56.92 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.9079, allocations: 0 / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.908, allocations: 310.8 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.908, allocations: 26.75 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.9081, allocations: 62.12 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.9082, allocations: 28.73 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.9082, allocations: 0.6562 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002061/0.9084, allocations: 114.1 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9084, allocations: 10.69 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.9084, allocations: 0 / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.9085, allocations: 4.594 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.9086, allocations: 28.7 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.9086, allocations: 8.688 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.9087, allocations: 1.016 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.9087, allocations: 6.812 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.107e-05/0.9088, allocations: 105.6 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.9088, allocations: 4.156 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.9091, allocations: 136.9 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9091, allocations: 7.906 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9091, allocations: 0.75 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9092, allocations: 1.125 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.9096, allocations: 378.3 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.9097, allocations: 8.125 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.9098, allocations: 27.92 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.9098, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.9098, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9098, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.9099, allocations: 6.203 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003337/0.9102, allocations: 305.5 kB / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004748/0.9107, allocations: 0.7022 MB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.9107, allocations: 85.08 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.9108, allocations: 8.609 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.9109, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.9109, allocations: 19.86 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.9109, allocations: 8 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.577e-05/0.9109, allocations: 75.28 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008244/0.9118, allocations: 35.91 kB / 1.105 GB, free: 10.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0002228/0.912, allocations: 140.6 kB / 1.105 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.9122, allocations: 77.27 kB / 1.105 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9122, allocations: 0 / 1.105 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.9123, allocations: 47.88 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.9124, allocations: 6.312 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.9128, allocations: 149.2 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.9132, allocations: 0.7124 MB / 1.106 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9132, allocations: 0 / 1.106 GB, free: 9.328 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)