Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.001629/0.00163, allocations: 189.7 kB / 7.802 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.5246/0.5246, allocations: 90.86 MB / 99.07 MB, free: 14.94 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.342/1.342, allocations: 221.4 MB / 342.8 MB, free: 5.289 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.001135/0.001135, allocations: 93.92 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1942/0.1954, allocations: 78.47 MB / 494 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.5849, allocations: 72.29 MB / 0.553 GB, free: 44.88 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.7121, allocations: 101 MB / 0.6516 GB, free: 7.723 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.7124, allocations: 75.95 kB / 0.6517 GB, free: 7.648 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.005424/0.7178, allocations: 1.715 MB / 0.6534 GB, free: 5.902 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7179, allocations: 11.94 kB / 0.6534 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.7179, allocations: 0.7188 kB / 0.6534 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.718, allocations: 168.7 kB / 0.6536 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.7181, allocations: 0.5 kB / 0.6536 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.7181, allocations: 4 kB / 0.6536 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.562e-05/0.7181, allocations: 4 kB / 0.6536 GB, free: 5.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.878e-05/0.7182, allocations: 29.64 kB / 0.6536 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7182, allocations: 0 / 0.6536 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.7182, allocations: 0 / 0.6536 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7182, allocations: 0 / 0.6536 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.7184, allocations: 134.2 kB / 0.6537 GB, free: 5.477 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.7184, allocations: 18.56 kB / 0.6537 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.7184, allocations: 8.859 kB / 0.6538 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.7189, allocations: 0.5545 MB / 0.6543 GB, free: 4.754 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.719, allocations: 42.56 kB / 0.6543 GB, free: 4.703 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.719, allocations: 0 / 0.6543 GB, free: 4.703 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.7191, allocations: 37.62 kB / 0.6544 GB, free: 4.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7192, allocations: 55.44 kB / 0.6544 GB, free: 4.594 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.01e-05/0.7192, allocations: 85 kB / 0.6545 GB, free: 4.504 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.7192, allocations: 25.7 kB / 0.6545 GB, free: 4.473 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.7193, allocations: 85.06 kB / 0.6546 GB, free: 4.387 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.7193, allocations: 3.906 kB / 0.6546 GB, free: 4.383 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.7193, allocations: 0 / 0.6546 GB, free: 4.383 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.7194, allocations: 314.8 kB / 0.6549 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.7195, allocations: 0 / 0.6549 GB, free: 4.066 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.7195, allocations: 0 / 0.6549 GB, free: 4.066 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.7195, allocations: 8.062 kB / 0.6549 GB, free: 4.059 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7195, allocations: 0 / 0.6549 GB, free: 4.059 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.112e-05/0.7196, allocations: 33.69 kB / 0.655 GB, free: 4.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7196, allocations: 8 kB / 0.655 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7196, allocations: 1.406 kB / 0.655 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.7196, allocations: 0 / 0.655 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.506e-05/0.7197, allocations: 3.938 kB / 0.655 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.7197, allocations: 1.172 kB / 0.655 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.7197, allocations: 4 kB / 0.655 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.7197, allocations: 8.031 kB / 0.655 GB, free: 3.996 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.884e-05/0.7198, allocations: 108.8 kB / 0.6551 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/0.7198, allocations: 0 / 0.6551 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.72, allocations: 40.69 kB / 0.6551 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.72, allocations: 0 / 0.6551 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.72, allocations: 0 / 0.6551 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.72, allocations: 4.031 kB / 0.6551 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.7201, allocations: 126.2 kB / 0.6552 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7201, allocations: 0 / 0.6552 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.7201, allocations: 7.984 kB / 0.6553 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.7201, allocations: 1.969 kB / 0.6553 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7201, allocations: 0 / 0.6553 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.7201, allocations: 0 / 0.6553 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7201, allocations: 0 / 0.6553 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.01e-05/0.7202, allocations: 68.98 kB / 0.6553 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002229/0.7205, allocations: 437.5 kB / 0.6557 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.7205, allocations: 77.11 kB / 0.6558 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.7205, allocations: 3.984 kB / 0.6558 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.7205, allocations: 0 / 0.6558 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.7206, allocations: 7.906 kB / 0.6558 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.7206, allocations: 8.062 kB / 0.6558 GB, free: 3.016 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.844e-05/0.7206, allocations: 75.28 kB / 0.6559 GB, free: 2.941 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000746/0.7214, allocations: 8 kB / 0.6559 GB, free: 2.934 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001788/0.7215, allocations: 111.2 kB / 0.656 GB, free: 2.812 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.006e-05/0.7216, allocations: 7.938 kB / 0.656 GB, free: 2.805 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7216, allocations: 0 / 0.656 GB, free: 2.805 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.7216, allocations: 3.984 kB / 0.656 GB, free: 2.801 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.974e-05/0.7217, allocations: 11.05 kB / 0.656 GB, free: 2.793 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.7219, allocations: 45.25 kB / 0.6561 GB, free: 2.727 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.7222, allocations: 0.6841 MB / 0.6567 GB, free: 2.016 MB / 474.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7222, allocations: 0 / 0.6567 GB, free: 2.016 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)