Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 99.98 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 178.4 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 8 kB / 0.8717 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9454/0.9458, allocations: 153.7 MB / 1.022 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002181/0.948, allocations: 1.616 MB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.9492, allocations: 0.6512 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.9493, allocations: 7.938 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.9495, allocations: 75.77 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.9497, allocations: 83.67 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.9501, allocations: 138.6 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.9504, allocations: 215.4 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.9506, allocations: 53.56 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.9507, allocations: 91.66 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.9509, allocations: 111.6 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.9509, allocations: 8 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.9511, allocations: 71.88 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.9511, allocations: 43.83 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.9512, allocations: 65.56 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.9515, allocations: 217.5 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9515, allocations: 3.938 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9515, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.9515, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007682/0.9523, allocations: 0.5468 MB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9523, allocations: 11.98 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.9524, allocations: 27.72 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.9528, allocations: 301.5 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.9529, allocations: 16 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.9529, allocations: 23.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.9533, allocations: 219.1 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9533, allocations: 8 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.9534, allocations: 4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.9534, allocations: 4 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.9536, allocations: 132.3 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.9545, allocations: 0.6847 MB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.9549, allocations: 178.4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.955, allocations: 108.9 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.9551, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.9554, allocations: 173.1 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.9554, allocations: 4 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.00066/0.9561, allocations: 389.4 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.9562, allocations: 136.5 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.9564, allocations: 274.7 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.9565, allocations: 29.7 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.9566, allocations: 160.2 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.9566, allocations: 43.45 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.9567, allocations: 0 / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9568, allocations: 346.8 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.9569, allocations: 84.16 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.9571, allocations: 138.7 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.9573, allocations: 115.2 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9573, allocations: 0 / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004929/0.9578, allocations: 347.1 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.9579, allocations: 37.69 kB / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9579, allocations: 0 / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.9579, allocations: 7.953 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.958, allocations: 23.98 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.958, allocations: 0 / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.9582, allocations: 36.02 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.9582, allocations: 7.938 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002122/0.9584, allocations: 193.1 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.9585, allocations: 23.72 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.9585, allocations: 29.83 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9585, allocations: 7.953 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9585, allocations: 3.938 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.9585, allocations: 4 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.9588, allocations: 293.3 kB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9588, allocations: 0 / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.9589, allocations: 19.98 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9589, allocations: 0 / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.959, allocations: 8 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.959, allocations: 4 kB / 1.03 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.959, allocations: 3.953 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.9597, allocations: 474.3 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.9597, allocations: 96.8 kB / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.9598, allocations: 12 kB / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.9599, allocations: 16.05 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.96, allocations: 27.95 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.96, allocations: 15.94 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001769/0.9602, allocations: 198 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9602, allocations: 0 / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002745/0.9605, allocations: 55.89 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001984/0.9607, allocations: 141.4 kB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.9612, allocations: 303.2 kB / 1.031 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9612, allocations: 0 / 1.031 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.9614, allocations: 187.5 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.9617, allocations: 30.44 kB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/0.9627, allocations: 0.5571 MB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.963, allocations: 0.754 MB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.9631, allocations: 19.72 kB / 1.033 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.9631, allocations: 0 / 1.033 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of Templates: time 0.004947/0.9681, allocations: 2.957 MB / 1.036 GB, free: 2.254 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o] Error 1