Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",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.003721/0.003721, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7132/0.7132, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.418/1.418, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009565/0.0009566, allocations: 102.2 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5103/0.5113, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.7051, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5544/1.26, allocations: 110 MB / 0.7407 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/1.26, allocations: 71.59 kB / 0.7408 GB, free: 11.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.003688/1.264, allocations: 1.282 MB / 0.742 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.264, allocations: 11.47 kB / 0.742 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/1.264, allocations: 0.75 kB / 0.742 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/1.264, allocations: 170.7 kB / 0.7422 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/1.264, allocations: 0 / 0.7422 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/1.264, allocations: 3.938 kB / 0.7422 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.564e-05/1.264, allocations: 4.594 kB / 0.7422 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/1.264, allocations: 30.34 kB / 0.7422 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/1.264, allocations: 0 / 0.7422 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/1.264, allocations: 0 / 0.7422 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.264, allocations: 4 kB / 0.7422 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/1.264, allocations: 127.7 kB / 0.7424 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.015e-05/1.264, allocations: 18.48 kB / 0.7424 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/1.264, allocations: 5.656 kB / 0.7424 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/1.265, allocations: 447 kB / 0.7428 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/1.265, allocations: 30.56 kB / 0.7428 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/1.265, allocations: 0 / 0.7428 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001474/1.265, allocations: 34.94 kB / 0.7429 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/1.265, allocations: 51.41 kB / 0.7429 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.656e-05/1.265, allocations: 89.55 kB / 0.743 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.265, allocations: 29.36 kB / 0.743 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/1.265, allocations: 87.73 kB / 0.7431 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/1.265, allocations: 0 / 0.7431 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/1.265, allocations: 0 / 0.7431 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.265, allocations: 315.5 kB / 0.7434 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/1.265, allocations: 0 / 0.7434 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/1.265, allocations: 4.594 kB / 0.7434 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/1.265, allocations: 0 / 0.7434 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.265, allocations: 0 / 0.7434 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.425e-05/1.265, allocations: 34.97 kB / 0.7435 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.265, allocations: 8.297 kB / 0.7435 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1.265, allocations: 0 / 0.7435 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/1.265, allocations: 0 / 0.7435 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.975e-05/1.266, allocations: 0.75 kB / 0.7435 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.266, allocations: 3.938 kB / 0.7435 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/1.266, allocations: 2.25 kB / 0.7435 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/1.266, allocations: 3.969 kB / 0.7435 GB, free: 25.09 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: 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.422e-05/1.266, allocations: 104.9 kB / 0.7436 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/1.266, allocations: 4.734 kB / 0.7436 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/1.266, allocations: 38.5 kB / 0.7436 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.266, allocations: 0 / 0.7436 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.266, allocations: 0 / 0.7436 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.266, allocations: 0.7031 kB / 0.7436 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.205e-05/1.266, allocations: 131.6 kB / 0.7437 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.266, allocations: 1.5 kB / 0.7437 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/1.266, allocations: 0.7031 kB / 0.7437 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/1.266, allocations: 0 / 0.7437 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/1.266, allocations: 3.938 kB / 0.7438 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.266, allocations: 8.016 kB / 0.7438 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.266, allocations: 4.594 kB / 0.7438 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.44e-05/1.266, allocations: 58.39 kB / 0.7438 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001611/1.266, allocations: 439.6 kB / 0.7442 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/1.266, allocations: 81.97 kB / 0.7443 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/1.266, allocations: 0 / 0.7443 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/1.266, allocations: 2.109 kB / 0.7443 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/1.266, allocations: 7.922 kB / 0.7443 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/1.266, allocations: 3.906 kB / 0.7443 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.644e-05/1.266, allocations: 76.03 kB / 0.7444 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007859/1.267, allocations: 28.34 kB / 0.7444 GB, free: 24.07 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: 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.0002662/1.267, allocations: 133.3 kB / 0.7446 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.094e-05/1.267, allocations: 8.688 kB / 0.7446 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.267, allocations: 0 / 0.7446 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/1.267, allocations: 3.594 kB / 0.7446 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.483e-05/1.267, allocations: 0 / 0.7446 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001522/1.268, allocations: 42.3 kB / 0.7446 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/1.268, allocations: 0.6863 MB / 0.7453 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.268, allocations: 0 / 0.7453 GB, free: 23.2 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)