Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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 3.2.3+maint.om/package.mo): time 0.00174/0.001739, allocations: 186.7 kB / 7.847 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.2 MB / 213.5 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 98.28 kB / 261.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1096/0.1096, allocations: 12.59 MB / 322 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2679/0.3776, allocations: 56.5 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.4715, allocations: 50.37 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.7963, allocations: 77.46 MB / 0.4945 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.7966, allocations: 81.28 kB / 0.4945 GB, free: 12 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.007228/0.8039, allocations: 1.722 MB / 0.4962 GB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8039, allocations: 7.688 kB / 0.4962 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.804, allocations: 11.66 kB / 0.4962 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.8043, allocations: 195.7 kB / 0.4964 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.8043, allocations: 5.391 kB / 0.4964 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.8043, allocations: 3.844 kB / 0.4964 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001384/0.8045, allocations: 29.5 kB / 0.4965 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.8047, allocations: 115.3 kB / 0.4966 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.8047, allocations: 0 / 0.4966 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.8048, allocations: 0 / 0.4966 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8048, allocations: 0 / 0.4966 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.8054, allocations: 367.5 kB / 0.4969 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.8055, allocations: 68.17 kB / 0.497 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.8055, allocations: 27.78 kB / 0.497 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.8056, allocations: 0.7031 kB / 0.497 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.8056, allocations: 42.39 kB / 0.4971 GB, free: 10.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.8056, allocations: 0 / 0.4971 GB, free: 10.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000275/0.8059, allocations: 76.53 kB / 0.4971 GB, free: 10.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.8059, allocations: 103.6 kB / 0.4972 GB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.8061, allocations: 128.9 kB / 0.4973 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.8061, allocations: 29.55 kB / 0.4974 GB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.8062, allocations: 88.05 kB / 0.4975 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.8062, allocations: 8.438 kB / 0.4975 GB, free: 10.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.8062, allocations: 0 / 0.4975 GB, free: 10.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.8063, allocations: 321 kB / 0.4978 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.8063, allocations: 7.094 kB / 0.4978 GB, free: 10.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.8064, allocations: 32.22 kB / 0.4978 GB, free: 10.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.8064, allocations: 13.12 kB / 0.4978 GB, free: 10.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8065, allocations: 0 / 0.4978 GB, free: 10.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001469/0.8066, allocations: 78.45 kB / 0.4979 GB, free: 9.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8066, allocations: 3.844 kB / 0.4979 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8066, allocations: 0 / 0.4979 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.8067, allocations: 4.547 kB / 0.4979 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.8069, allocations: 14.16 kB / 0.4979 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.8069, allocations: 4.594 kB / 0.4979 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.807, allocations: 17.3 kB / 0.4979 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.807, allocations: 0.5156 kB / 0.4979 GB, free: 9.973 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.013e-05/0.8071, allocations: 101.7 kB / 0.498 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.8072, allocations: 51.89 kB / 0.4981 GB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.8073, allocations: 13.09 kB / 0.4981 GB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8073, allocations: 7.844 kB / 0.4981 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8073, allocations: 7.812 kB / 0.4981 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8073, allocations: 0.7031 kB / 0.4981 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.8076, allocations: 156 kB / 0.4983 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8076, allocations: 0 / 0.4983 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.8077, allocations: 14.62 kB / 0.4983 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.8078, allocations: 0.5156 kB / 0.4983 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8078, allocations: 4.5 kB / 0.4983 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8078, allocations: 0 / 0.4983 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.8078, allocations: 4.422 kB / 0.4983 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001984/0.808, allocations: 275.8 kB / 0.4985 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002689/0.8083, allocations: 0.6403 MB / 0.4992 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.8084, allocations: 104.4 kB / 0.4993 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.8084, allocations: 0 / 0.4993 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.8086, allocations: 9 kB / 0.4993 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.8087, allocations: 1.359 kB / 0.4993 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.8087, allocations: 9.297 kB / 0.4993 GB, free: 8.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.454e-05/0.8088, allocations: 118 kB / 0.4994 GB, free: 8.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001326/0.8101, allocations: 7.344 kB / 0.4994 GB, free: 8.582 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001122/0.8103, allocations: 95.55 kB / 0.4995 GB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.8105, allocations: 33.41 kB / 0.4995 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8105, allocations: 0 / 0.4995 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.8105, allocations: 9.219 kB / 0.4995 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.811, allocations: 37.8 kB / 0.4996 GB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.8114, allocations: 130.5 kB / 0.4997 GB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.8116, allocations: 0.7181 MB / 0.5004 GB, free: 7.66 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.8117, allocations: 0 / 0.5004 GB, free: 7.66 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1)